Forum Problems Installing LAMS: Re: MySQL root password


 
Search: 

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