|
|
|
|
![]() ![]() |
May 10 2007, 12:02 AM
Post
#1
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 10 Joined: 9-May 07 Member No.: 21,875 |
Okay, MySQL was installed, as per the guide on php.net, and all of the config done. This was done on a Windows computer with IIS 5 on XP. The comand line will not let me login! The program groups' own shortcut doesn't work! Will any one help?
|
|
|
|
May 10 2007, 04:12 AM
Post
#2
|
|
|
Premium Member Group: Members Posts: 206 Joined: 26-February 07 From: Texas Member No.: 20,598 |
Eerm maybe you can use php to edit it? That'll take hours longer than phpMYadmin...but if you have to make a php script start with...
CODE <?php mysql_connect("localhost", "<user>", "<pass>") or die(mysql_error()); mysql_select_db("db") or die(mysql_error()) I am not trying to sound mean...however your post makes me want to cry...I can feel your desperation. This post has been edited by SilverFox: May 10 2007, 04:13 AM |
|
|
|
May 10 2007, 08:40 AM
Post
#3
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 2,242 Joined: 16-August 05 Member No.: 7,896 myCENTs:56.55 |
OK, clearly you have a configuration problem, probably the mysql database did not start, or the user does not exist yet.
If you want to simply train yourselv, may I suggest an easier way ? I would suggest you to install easyphp. It comes with everything bundled inside (php, mysql, the web server), the install is straightforward (nothing to do) and when you ask it, everything starts automatically and is ready to be used. When you will have learned how to use easyphp, you will be able to switch to some more complicated (because not bundled nor packaged) environments. Regards Yordan |
|
|
|
May 10 2007, 11:50 AM
Post
#4
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 10 Joined: 9-May 07 Member No.: 21,875 |
OK, clearly you have a configuration problem, probably the mysql database did not start, or the user does not exist yet. If you want to simply train yourselv, may I suggest an easier way ? I would suggest you to install easyphp. It comes with everything bundled inside (php, mysql, the web server), the install is straightforward (nothing to do) and when you ask it, everything starts automatically and is ready to be used. When you will have learned how to use easyphp, you will be able to switch to some more complicated (because not bundled nor packaged) environments. Regards Yordan Thank you, I was looking around and also found a similar package, wamp5 server. |
|
|
|
May 10 2007, 04:20 PM
Post
#5
|
|
|
Premium Member Group: Members Posts: 206 Joined: 26-February 07 From: Texas Member No.: 20,598 |
I suggest you get phpMyAdmin.
Get hosting at Asta...it comes with it |
|
|
|
May 10 2007, 07:59 PM
Post
#6
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 2,242 Joined: 16-August 05 Member No.: 7,896 myCENTs:56.55 |
|
|
|
|
May 10 2007, 08:34 PM
Post
#7
|
|
|
Super Member Group: [HOSTED] Posts: 805 Joined: 8-April 06 From: Lima - Peru Member No.: 12,579 myCENTs:46.87 |
Okay, MySQL was installed, as per the guide on php.net, and all of the config done. This was done on a Windows computer with IIS 5 on XP. The comand line will not let me login! The program groups' own shortcut doesn't work! Will any one help? May be you can't login because the server isn't started yet. You must start the mysql server before you can do anything on it, so, to start it you can use a command line, a batch file, the services console or even the run command:
>mysql -uuser -ppwd replace user with your user name -maybe root- and pwd with its password. Best regards, |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 5th December 2008 - 01:16 AM |