[rt-users] MyRT Line 76 error/upgrade error

Jesse Vincent jesse at bestpractical.com
Thu Aug 31 10:32:17 EDT 2006




On Thu, Aug 31, 2006 at 07:30:13AM -0700, Shannon Adams wrote:
> I restored a 3.4.3 mysql db into 3.6.0.  I am
> receiving the line 76 error that has already been
> reported.  When I run the upgrade command:
> 
> /opt/rt3/sbin/rt-setup-database --action schema \
>  --datadir \
> /usr/src/build/rt-3.6.0/etc/upgrade/3.5.1             
> 
> I receive the following error:
> 
> DBI connect('dbname=rt3;host=localhost','',...)
> failed: Access denied for user 
> root'@'localhost' (using password: NO) at
> /opt/rt3/sbin/rt-setup-database line 
> 169                                                   


The makefile tells you to:

        @echo "    $(RT_SBIN_PATH)/rt-setup-database --dba $(DB_DBA) --prompt-for-dba-passwor
d --action schema --datadir etc/upgrade/<version>"
        @echo "    $(RT_SBIN_PATH)/rt-setup-database --dba $(DB_DBA) --prompt-for-dba-passwor
d --action acl --datadir etc/upgrade/<version>"
        @echo "    $(RT_SBIN_PATH)/rt-setup-database --dba $(DB_DBA) --prompt-for-dba-passwor
d --action insert --datadir etc/upgrade/<version>"
                         

You need to spec a username and password. 



More information about the rt-users mailing list