View previous topic :: View next topic |
Author |
Message |
Disliked -
Joined: 31 May 2005 Posts: 5
|
Posted: Wed Jun 01, 2005 1:09 pm Post subject: Error: #2005 |
|
|
Hello, I have sucessfully installed PHP5 and MySQL (I think so anyway), and when i go to http://127.0.0.1:1027/phpmyadmin/ I get the following error:
Quote: |
Welcome to phpMyAdmin 2.6.1
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
Error
MySQL said: Documentation
#2005 - Unknown MySQL server host 'http' (11001) |
This is my config.inc.php (without comments and password):
Quote: | $cfg['Servers'][$i]['host'] = 'http://127.0.0.1/MySQL/';
$cfg['Servers'][$i]['port'] = '1028';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['controluser'] = '';
$cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '<password>'; |
When I installed MySQL I set the TCP port to 1028, as 1027 was taken up by the server. |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Wed Jun 01, 2005 2:35 pm Post subject: |
|
|
Quote: | $cfg['Servers'][$i]['host'] = 'http://127.0.0.1/MySQL/'; |
Are you sure you installed MySQL in your htdocs folder?
If you didn't, this needs to be changed to "localhost".
Also double-check your password for misspellings. |
|
Back to top |
|
 |
Disliked -
Joined: 31 May 2005 Posts: 5
|
Posted: Wed Jun 01, 2005 2:58 pm Post subject: |
|
|
Quote: | Are you sure you installed MySQL in your htdocs folder? |
Yes; C:\Program Files\Abyss Web Server\htdocs\MySQL\
Quote: | Also double-check your password for misspellings. |
The password is definitly correct too. |
|
Back to top |
|
 |
Disliked -
Joined: 31 May 2005 Posts: 5
|
Posted: Wed Jun 01, 2005 6:14 pm Post subject: |
|
|
Never Mind, I've finally figured it out, I just had to change host ot localhost, without any http:// or anything. |
|
Back to top |
|
 |
|