Title: Re: [Oscar-users] How to recover from a lost DB ?
Hi Gareth:
 
I don't think you're adding the password to the correct file - the "portal" package has nothing to do with this.  Perhaps DongInn can pinpoint you to exactly which code you need to modify so that it will use the password for root.
 
BTW, you have access to the database right?  Perhaps it's easier just to dump the contents and re-import it?
 
Cheers,
 
Bernard


From: [EMAIL PROTECTED] on behalf of gareth
Sent: Thu 04/05/2006 02:00
To: [email protected]
Subject: Re: [Oscar-users] How to recover from a lost DB ?

On Wed 2006-05-03 (17:09), Bruce Becker wrote:
> It's all fixed now, thanks again

almost fixed, we've now got 2 users


# mysql -ppasswd --exec='SELECT Host, User FROM mysql.user'
+-----------+-------+
| Host      | User  |
+-----------+-------+
| localhost | oscar |
| localhost | root  |
+-----------+-------+

since the install_cluster script seems to want to plug into
mysql as both, except with a password for 'oscar' (which works
with the /etc/odapw file) but without one for root, which is
the problem because root has a password and we can't seem to
drop it?

anyway, if we go and add the root password onto the shell commands
in /opt/oscar/packages/portal/scripts/post_server_install it gets
as far as:

Creating the OSCAR database ...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
/opt/oscar/scripts/package_config_xmls_to_database: cannot create the OSCAR database at /opt/oscar/scripts/package_config_xmls_to_database line 228.
Couldn't set up oda database at ./wizard_prep line 269
Oscar Wizard preparation script failed to complete at ./install_cluster line 212.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to