Jump to content

Can't get connection


Endrew

Recommended Posts

[b]MYSQL 5.0 , IIS 5.1, Windows XP Professional Edition[/b]

Whenever i call mysql_connect function I got this error message.
[Quote]
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in c:\Inetpub\wwwroot\info\~phpdesigner_output_tmp.php on line 2
[Quote]

When i change login password, using MYSQL SERVER INSTANCE CONFIG WIZARD, I've got this error message during setting up process. I turned off firewall as the msg said. But it doesn't work. Is there a way to solve this problem?
[Quote]
Error Nr.1045
Access denied for user 'root'@'localhost'(using password:NO)
If a personal firewall is running on your machine, please make sure you have opened the TCP port 3306 for connections. Otherwise no client application can connect to the server. After you have opened the port please press [Retry] to apply the security settings. If you are re-installing after you just uninstalled the MySQL server please note that the data directory was not removed automatically. Therefore the old password from your last installation is still needed to connect to ther server. In this case please select skip now and re-run the Configuration Wizard from the start menu.
[Quote]

Link to comment
Share on other sites

Windows Firewall probanly has port 3306 blocked. Do you have SP2 installed? If so, go to Start => Settings => Control Panel => Windows Firewall. Select the option, "Off" to completely disable the firewall and then try to reconnect to MySQL. If you can connect, you'll have to create an exception in Windows Firewall to run both...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.