NEW VPS Plans

ServerTune provides -- managed and un-managed -- VPS hosting solutions at affordable prices to accommodate your personal and/or businesses needs.

Click here for more info ...

NEW VPS Plans

Click to hideClick to view
ServerTune

Browse by category

Search    |    Advanced search

Error connecting to MySQL: Access denied for user: 'da_admin@localhost' (Using password: YES)

If you get the following error message:

Error connecting to MySQL : Access denied for user: 'da_admin@localhost' (Using password: YES)

that means the user: da_admin has not been setup correctly. To solve this problem, do the following.

1. Make sure that the root mysql password is working. If you know it, skip to Step 2. The MySQL root password (if has not been deleted) can be found in the file:

/usr/local/directadmin/scripts/setup.txt

It should be under the header mysql=

If the password cannot be found, mysqld will have to be restarted with the following switch: --skip-grant-tables

To start up MySQL, and access MySQL prompt,without the need for a root password:

Once at MySQL prompt, run the following commands to reset the root password:

Shut down and then restart mysqld

2. Now, you can reset da_admin mysql user. Access MySQL prompt:

At MySQL prompt, run these commands:

3. Now we need to make sure it's setup correctly for DA to use.

Edit /usr/local/directadmin/conf/mysql.conf and set

user=da_admin
passwd=YOUR_NEW_PASSWORD'
Printer Friendly
 
email to a friend
Email to friend
 
Add comment
Add comment
 
Views: 487
 
Votes: 0
 
Comments: 0
 
Posted: 17 Jan, 2008 by: Customer Service S.
Updated: 06 Mar, 2011 by: Customer Service S.

Other articles in this Category

Article
RSS