0
Welcome Guest! Login
0 items Join Now

SOLVED Database Configuration: Unable to connect to MySQL

  • SOLVED Database Configuration: Unable to connect to MySQL

    Posted 15 years 5 months ago
    • My website has been working fine until I set up a database for a client website on the same server (different hosting account though). Now MY home page says 'Database Error: Unable to connect to the database. Could not connect to MySQL.'

      At the Cpanel, I went to phpmyadmin and the database says 'no privilages'. Could that be the issue and how do I fix it?

      Thank you for any help you can provide....
    • Last Edit: 15 years 4 months ago by FreshStartDesignStudio.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: SOLVED Database Configuration: Unable to connect to MySQL

    Posted 15 years 5 months ago
    • Hmm, are you 2 maybe sharing the same database? :(
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: SOLVED Database Configuration: Unable to connect to MySQL

    Posted 15 years 5 months ago
    • prim wrote:
      Hmm, are you 2 maybe sharing the same database? :(
      no, but they both share the same UN with different PW when I set it up.
  • Re: SOLVED Database Configuration: Unable to connect to MySQL

    Posted 15 years 5 months ago
    • FreshStartDesignStudio wrote:
      prim wrote:
      Hmm, are you 2 maybe sharing the same database? :(
      no, but they both share the same UN with different PW when I set it up.
      it adds a prefix to the UN, though so it's not the same.

      My configuration.php file didn't have a PW on it, so I added it and tried to upload. I said I didn't have permissions.

      How can I check the PW and how do I get permissions? Just thought I'd give that a try.
  • Re: SOLVED Database Configuration: Unable to connect to MySQL

    Posted 15 years 5 months ago
    • WHEW!!!!!
      I fixed it by adding the original admin user and original password to the Database which ended up replacing the one I messed up.

      Thanks for checking it anyways!

Time to create page: 0.214 seconds