Check and install database error

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
rsaeks
Posts: 7
Joined: 26 Apr 2005, 14:37

Check and install database error

Post by rsaeks »

I can get though all the steps except the last one: attempting to connect to database as admin.

The message I get is this:

Attempting to connect to database as admin BAD
Does administrative user have access to the database?

I have tried the mySQL root user, and still no luck.

Any ideas on this?
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

The script is attempting to log in using the hostname, admin userid and password you provided.

It is possible that the database is receiving the connection from the local machine, not as "localhost" but as the DNS name of the web server. This also needs to be added to the databse access permissions.

Code: Select all

e.g. GRANT ALL on bugtracker.* to <adm_user>@<webserver_name> IDENTIFIED BY <password>;
Post Reply