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. 
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to