OVH Community, your new community space.

Access denied for admin to MySQL


mapvivo
18-08-2012, 14:28
Ah, that makes sense.
Thanks.

K.Kode
18-08-2012, 13:52
OVH wouldn't have your SQL password to email to you, use mysqladmin to set a root password.

mapvivo
18-08-2012, 13:30
Hi

I just bought a dedicated server and set up a database for my main website.
The user for this database I created does not have "CREATE TABLE" privileges.

I need to import a big database with procedures and triggers from my old website. For that I need root access to MySQL.

I logged in to my server via SSH and tried to run:
mysql -u admin -p
when prompted for password I typed in admin password from email from OVH. The problem is I'm getting:
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)

Am I doing something wrong? how can connect to my database as root?

Thanks.