Drupal install on remote mysql

Posted by user1448660 on Stack Overflow See other posts from Stack Overflow or by user1448660
Published on 2012-12-15T06:56:41Z Indexed on 2012/12/15 11:04 UTC
Read the original article Hit count: 144

Filed under:
|
|
|

I am trying to install drupal on remote mysql server. I have created the user in mysql and granted the the privileges.

I am able to connect through command line from my web server like this "mysql -u xxxx -h 10.xxx.yy.zz3 -p".

But when I tried to install drupal I get "SQLSTATE[28000] [1045] Access denied for user 'xxxx'@'localhost'". I have given the privileges for "xxxx"@"10.xxx.yy.zz3" but drupal appends localhost instead of IP to user name. I have changed settings.php to mysql server IP.

What am I missing?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about drupal