#1045: Access denied for user 'robertuk_admin'@'localhost'

RPUK

Joined: 2011-12-05
Posts: 3
Posted: Sat, 2013-03-30 15:01

We're unable to get into our Gallery, getting message -

Quote:
Dang... Something went wrong!

We tried really hard, but it's broken.

Talk to your Gallery administrator for help fixing this!

Been into log and this is the most recent error message -

Quote:
2013-03-30 00:00:51 -05:00 --- error: Database_Exception [ 44 ]: #1045: Access denied for user 'robertuk_admin'@'localhost' (using password: YES)
/home/robertuk/public_html/Gallery/system/libraries/Database_Mysqli.php [ 33 ]
#0 /home/robertuk/public_html/Gallery/system/libraries/Database_Mysqli.php(85): Database_Mysqli_Core->connect()
#1 /home/robertuk/public_html/Gallery/system/libraries/Database.php(429): Database_Mysqli_Core->escape('var_cache')
#2 [internal function]: Database_Core->quote('var_cache')
#3 /home/robertuk/public_html/Gallery/system/libraries/Database_Builder.php(764): array_map(Array, Array)
#4 /home/robertuk/public_html/Gallery/system/libraries/Database_Builder.php(1021): Database_Builder_Core->compile_conditions(Array)
#5 /home/robertuk/public_html/Gallery/modules/kohana23_compat/libraries/MY_Database_Builder.php(48): Database_Builder_Core->compile()
#6 /home/robertuk/public_html/Gallery/system/libraries/Database_Builder.php(957): Database_Builder->compile()
#7 /home/robertuk/public_html/Gallery/modules/gallery/libraries/drivers/Cache/Database.php(105): Database_Builder_Core->execute()
#8 /home/robertuk/public_html/Gallery/system/libraries/Cache.php(141): Cache_Database_Driver->get(Array, true)
#9 /home/robertuk/public_html/Gallery/modules/gallery/helpers/module.php(430): Cache_Core->get('var_cache')
#10 /home/robertuk/public_html/Gallery/modules/gallery/config/locale.php(36): module_Core::get_var('gallery', 'timezone', 'America/Chicago')
#11 /home/robertuk/public_html/Gallery/system/libraries/drivers/Config/Array.php(70): require('/home/robertuk/...')
#12 /home/robertuk/public_html/Gallery/system/libraries/drivers/Config.php(111): Config_Array_Driver->load('locale', false)
#13 /home/robertuk/public_html/Gallery/system/core/Kohana_Config.php(121): Config_Driver->get('locale.language', false, false)
#14 /home/robertuk/public_html/Gallery/system/core/Kohana.php(385): Kohana_Config_Core->get('locale.language', false, false)
#15 /home/robertuk/public_html/Gallery/system/core/Kohana.php(150): Kohana_Core::config('locale.language')
#16 /home/robertuk/public_html/Gallery/application/Bootstrap.php(49): Kohana_Core::setup()
#17 /home/robertuk/public_html/Gallery/index.php(102): require('/home/robertuk/...')
#18 {main}

Gone into MySQL Databases and added a new user. Updated the user information in the public_html/Gallery/var/database.php but still unable to get in.

Is there another config file I need to update? Can anyone help please?

Thanks Lucy

 
sirrao

Joined: 2013-03-31
Posts: 1
Posted: Sun, 2013-03-31 15:55

Open via FTP your gallery3/var/database.php and check the section $config['default'].
Especially user, pass, host and database