[rt-users] Problem initializing database

John Oliver joliver at john-oliver.net
Tue Aug 7 13:45:40 EDT 2007

[root at rt3 ~]# /usr/sbin/rt-setup-database --action init --dba root
In order to create or update your RT database,this script needs to
connect to your mysql instance on as root.
Please specify that user's database password below. If the user has no
password, just press return.

Now creating a database for RT.
Creating mysql database rt3.
Now populating database schema.
Creating database schema.
readline() on closed filehandle SCHEMA_LOCAL at
/usr/sbin/rt-setup-database line 192.
Done setting up database schema.
Now inserting database ACLs
DBD::mysql::st execute failed: Access denied for user
'root'@'' to database 'rt3' at /usr/sbin/rt-setup-database
line 345.
Problem with statement:
rt_user@'' IDENTIFIED BY '***********';
Access denied for user 'root'@'' to database 'rt3' at
/usr/sbin/rt-setup-database line 346.

On the MySQL server, I did:

grant all on *.* to 'root'@'' identified by '********'

but am still getting that error.

I'm aware that this is almost certainly a MySQL error, but I don't think
I'll get much help from any MySQL forums since I can't tell them exactly
what /usr/sbin/rt-setup-database is doing.

* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *

More information about the rt-users mailing list