Results 1 to 2 of 2

Thread: Can't run 2.10 after install. Couldn't connect DB

  1. #1
    New user
    Join Date
    07-19-10.
    Location
    Russia
    Posts
    26

    Default Can't run 2.10 after install. Couldn't connect DB

    Hello. I just have had an unsuccessful try to run Contao 2.10 after clean install.
    The error is
    Code:
    Fatal error: Uncaught exception Exception with message Could not connect to database (Access denied for user ' dreel_site1'@'localhost' (using password: YES)) thrown in /home/d/dreel/sites/site1/public_html/cms/system/libraries/Database.php on line 78
    
    #0 /home/d/dreel/sites/site1public_html/cms/system/libraries/Database.php(136): Database->__construct()
    #1 [internal function]: Database::getInstance()
    #2 /home/d/dreel/sites/site1public_html/cms/system/libraries/System.php(147): call_user_func(Array)
    #3 /home/d/dreel/sites/site1public_html/cms/system/modules/backend/Backend.php(49): System->import('Database')
    #4 /home/d/dreel/sites/site1public_html/cms/contao/install.php(63): Backend->__construct()
    #5 /home/d/dreel/sites/site1public_html/cms/contao/install.php(910): InstallTool->__construct()
    #6 {main}
    I have checked 2.9.5 on the same hosting and it works normally.

    Server config:
    Code:
    Linux   2.6	
    Apache  1.3.41	
    MySQL   5.0	
    PHP     5.2.12
    Php config here

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Can't run 2.10 after install. Couldn't connect DB

    Is that a white space in front of the first character of the user name? If so, remove the space in front of your user name.

    ' dreel_site1'@'localhost'
    Remove the space in front of the d of dreel_site1

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •