[Serusers] new_connection(): Access denied for user 'serro'

caio elcaio at gmail.com
Fri Dec 12 13:41:04 CET 2008


Hi all,

I have this error when start ser (v0.9.7):

  0(0) find_mod_export: found <db_update> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
  0(0) get_connection(): Connection not found in the pool
  0(0) release_connection(): Removing connection from the pool
  0(0) get_connection(): Connection not found in the pool
  0(0) release_connection(): Removing connection from the pool
  0(0) DEBUG: init_mod: domain
  0(0) domain - initializing
  0(0) find_mod_export: found <db_use_table> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
  0(0) find_mod_export: found <db_init> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
  0(0) find_mod_export: found <db_close> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
  0(0) find_mod_export: found <db_query> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
  0(0) find_mod_export: found <db_raw_query> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
  0(0) find_mod_export: found <db_free_result> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
  0(0) find_mod_export: found <db_insert> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
  0(0) find_mod_export: found <db_delete> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
  0(0) find_mod_export: found <db_update> in module mysql
[/usr/local/lib/ser/modules/mysql.so]
  0(0) get_connection(): Connection not found in the pool
  0(0) new_connection(): Access denied for user 'serro'@'localhost' to
database 'ser'
  0(0) db_init(): Could not create a connection
  0(0) ERROR:domain_db_init: cannot initialize database connection
  0(0) init_mod(): Error while initializing module domain
ERROR: error while initializing modules
  0(0) XLOG: destroy module ...

Couriously, database name is not 'ser', i've changed its name on
ser_mysql.sh.
I also change on ser_mysql.sh DBNAME, USERNAME, and DEFAULT_PW.
User 'serro' at this instance has its default password RO_PW (47serro11).
The "ser_mysql.sh create" works, but then whan I run "ser -D -E" it fails.

If I change 'serro' default password and run again ser_mysql (after
deleting previous db installation), the failure is the the following:

  0(0) get_connection(): Connection not found in the pool
  0(0) new_connection(): Access denied for user 'serro'@'localhost'
(using password: YES)
  0(0) db_init(): Could not create a connection
  0(0) ERROR:domain_db_init: cannot initialize database connection

Here, access is denied, but seem to found correctly the new db name.

Is it possible that 'serro', 'heslo', default password of serro, ser
default db names, an similar values be hardcoded on ser binary?

Any comments will be apreciatted.., thanks.

caiogf



More information about the sr-users mailing list