View Full Version : Can't connect to database
Caravan
11-08-2004, 02:02 PM
Say "hi" to my good buddies at the TLK
filburt1
11-08-2004, 02:14 PM
If it's a test server, the default username is "root" and there is no password.
A user in Windows has no relation to a user in MySQL (unlike MS SQL Server). Look at http://www.mysql.com/doc and the syntax for granting (GRANT) all permissions for a given user.
Zachery
11-08-2004, 02:40 PM
I'm having problems connecting to the MySQL database (4.1) on Win 2003 server and PHP 4.3.9 from the install.php script. I get the following message:
I have tried creating a few test databases (from the command line) and no matter what combination of username, passwords, etc, I use I get this error.
I performed all grants on the db but I'm unsure if I've crerated the users properly (or at all as far as the DB is concerned). Being a newbie to MySQL I'm not sure if a Win user is the same as a DB user in MySQL.
I even tried using the root username and pw and still no luck.
Any sugegstions?
You also need to make sure you have an OLD_PASSWORD :)
Zachery
11-08-2004, 09:27 PM
Filburt1,
Thanks, I will try to follow the docs to troubleshoot.
I did give my root account a password, and I've tried configuring that to the config.php file, but still no luck.
Now sure what on "old_password" is...
You are running MySQL 4.1.X and it uses a new connection client, you need to use the old client.
http://dev.mysql.com/doc/mysql/en/Password_hashing.html
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.