[rt-users] MySQL-Problems while installing RT-1.3.99

Harald Wagener hwagener at fcb-wilkens.com
Tue Jun 12 08:31:17 EDT 2001


see below for the messages 'make install' shows me. The user rt already
exists for the old rt-1.0.7, is this the problem? Do I have to create
another user (for the database? for database AND unix system?)?

Regards,
	Harald

ganymed:/tmp/rt-1-3-99 # make install
mkdir -p /opt/rt2/bin
mkdir -p /opt/rt2/WebRT/data
mkdir -p /opt/rt2/WebRT/sessiondata
mkdir -p /opt/rt2/etc
mkdir -p /opt/rt2/lib
mkdir -p /opt/rt2/WebRT/html
mkdir -p /opt/rt2/local/WebRT/html
/usr/bin/perl   tools/initdb 'mysql' '/usr' 'localhost' 'root' 'rt2'
create
Now creating a database for RT.
Enter the mysql password for root: 
Creating mysql database rt2.
cp etc/acl.mysql '/opt/rt2/etc/acl.mysql'
/usr/bin/perl -p -i -e " s'!!DB_TYPE!!'mysql'g;\
                        s'!!DB_HOST!!'localhost'g;\
                        s'!!DB_RT_PASS!!'rt_pass'g;\
                        s'!!DB_RT_HOST!!'localhost'g;\
                        s'!!DB_RT_USER!!'rt'g;\
                        s'!!DB_DATABASE!!'rt2'g;" /opt/rt2/etc/acl.mysql
bin/initacls.mysql '/usr' 'localhost' 'root' '' 'rt2'
'/opt/rt2/etc/acl.mysql' 
Enter the mysql administrator's database password to create a new user for
RT
Enter password: 
Enter the mysql administrator's database password to nondestructively
reload the
 database
Enter password: 
/usr/bin/perl   tools/initdb 'mysql' '/usr' 'localhost' 'rt' 'rt2' insert
Now populating database schema.
Enter the mysql password for rt: 
Creating database schema.
DBI->connect(dbname=rt2;host=localhost) failed: Access denied for user:
'rt at loca
lhost' (Using password: YES) at tools/initdb line 138
Access denied for user: 'rt at localhost' (Using password: YES) at
tools/initdb lin
e 138, <STDIN> line 1.
make: *** [initdb.rtuser] Error 255
ganymed:/tmp/rt-1-3-99 # 

-- 
Harald Wagener      |                                Systemadministrator 
FCB/Wilkens GmbH    |                              Tel.:+49-40-2881-1252 
An der Alster 42    |                              Fax.:+49-40-2881-1263 
20099 Hamburg       |                         http://www.fcb-wilkens.com




More information about the rt-users mailing list