Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

MySQL Connection Error : Access denied for user '171690_nv12667'@'%' to database '1717690-forum*

menozmenoz New
edited January 2013 in Vanilla 2.0 - 2.8

Hey.

I just copied over my Forum from one Hosting I was using (Zipped it and unpacked onto a new site) And on my new Site, after changing the MySQL config, I'm getting some major issue..

Fatal Error:

57:             $this->_Connection = new PDO(strtolower($this->Engine) . ':' . $this->Dsn, $this->User, $this->Password, $this->ConnectionOptions);
58:             if($this->ConnectionOptions[1002])
59:                $this->Query($this->ConnectionOptions[1002]);
60:          } catch (Exception $ex) {
61:             trigger_error(ErrorMessage('An error occurred while attempting to connect to the database', $this->ClassName, 'Connection', $ex->getMessage()), E_USER_ERROR);
62:          }
63:       }
64:       
65:       return $this->_Connection;


But all the configs are correct. When I use the same MySQL Settings on some blank page to try connect, it works. Vanilla Forum just denies the connection and claims it's wrong credentials.


SQLSTATE[42000] [1044] Access denied for user '171690_nv12667'@'%' to database '1717690-forum'[/code]getMessage()), E_USER_ERROR);
62:          }
63:       }
64:       
65:       return $this-

Comments

  • Let's take a look at this error message : MySQL Connection Error : Access denied for user '171690_nv12667'@'%' to database '1717690-forum which clues does that give you?

    There was an error rendering this rich post.

  • the user has to have access rights to that database.

    grep is your friend.

Sign In or Register to comment.