View previous topic :: View next topic |
Author |
Message |
Hexa Guest
|
Posted: Mon Mar 06, 2006 6:10 am Post subject: MySQL issue ... during installation |
|
|
Hello,
I'm getting the following error message when trying to install Groundwork Open source :
rpm -Uvh groundwork-monitor-os-4.5-M1.31.i586.rpm
Preparing... ########################################### [100%]
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Aborting installation...
error: %pre(groundwork-monitor-os-4.5-M1.31) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping groundwork-monitor-os-4.5-M1.31
MySQL root account is configured to use a password, so I've set the environment variable MYSQL_ROOT with the root@localhost password and tryed to restart the installation with unfortunaly the same problem
Thanks in advance for some help |
|
Back to top |
|
|
pdangel Guest
|
Posted: Mon Mar 06, 2006 7:06 am Post subject: |
|
|
I did an install yesterday with a fresh download of the ISO file, I too had this problem.
I ended up reseting the MySQL root password to blank to get the install to work.
BTW, changing the MySQL root password after the install stopped GWOS from working, giving a Monarch error in the browser. |
|
Back to top |
|
|
Peter_Loh
Joined: 13 Feb 2006 Posts: 29
|
Posted: Mon Mar 06, 2006 3:20 pm Post subject: |
|
|
There is a bug with the install when using a non-null root MySQL password. This will be fixed in the next release, available in about a week. |
|
Back to top |
|
|
Guest Guest
|
Posted: Wed Mar 08, 2006 11:52 am Post subject: RE: MySQL issue ... during installation |
|
|
Easy fix:
mv /usr/bin/mysql /usr/bin/mysql.bin
create script and named it /usr/bin/mysql
#!/bin/sh
if [ $# -gt 0 ]
then
exec mysql.bin "$@"
else
exec mysql.bin -uroot -p"$MYSQL_ROOT"
fi
##################
install groundwork...
move it back...
P.S Dont forget to set up MYSQL_ROOT=(real passwd) |
|
Back to top |
|
|
|