Forum Problems Installing LAMS: MySQL root password


 
Search: 

7: MySQL root password
In response to 1 10/14/05 09:17 AM
[ Reply | Forward ]
>Nevertheless, you can still get LAMS to work if you have changed the MySQL root password. It's a bit more fiddily, but given that you have changed the password of MySQL, this shouldn't be a problem.

>Steward, Marc, can you confirm with me if you have changed the MySQL root password to other thing than blank?

Oh, definitely. Let's get fiddily. What do I need to do to get LAMS to work?

Posted by Marc Boots-Ebenfield

8: Re: MySQL root password
In response to 7 10/14/05 07:41 PM
[ Reply | Forward ]
Marc,

The fix it's actually quite simple.

1.- Stop the LAMS Server (using the LAMS server controller app)
2.- Open up a terminal (see in the /Applications/Utilities folder)
3.- See the steps I've taken in the attached picture

The summary of commands are:

sudo su -

echo "LAMS_DB_ROOT_PASSWORD=your-password-here" >> /usr/local/lams-1.0.2/ant/build.properties

cd /usr/local/lams-1.0.2/ant/

../apache-ant-1.6.5/bin/ant prepare-db

../apache-ant-1.6.5/bin/ant import-db

Of course, change the "your-password-here" for whatever MySQL root password you have set up.

Once you gone thru these steps in the picture and the output you get looks *exactly* the same, then go to the LAMS Server controller application and LAMS should be working now.

Please let me know how it goes either way.

Thanks,

Ernie

Posted by Ernie Ghiglione

Attachments:
Reply to first post on this page
Back to Problems Installing LAMS