6:
Re: Lams start-up log
By: Ernie Ghiglione
|
In response to 5 | 10/13/05 05:47 PM | ||
Marc, Steward,
I had a closer look at your logs and I think I know why your LAMS instance is not working. The answer is MySQL Althought MySQL was running when you installed LAMS, LAMS was never able to create a database. If you have a look at the installer.log file in the /usr/local/lams-1.0.2 folder, you'll see that when LAMS attempts to create the database it can't run the initialization scripts. Marc, this is from your installer.log file you sent me: ... Then a bit further down, then LAMS tries to add the initialization data into the DB you get: ... The correct log for a successful db creation should be like: ... import-db: _lams_config: _import_db: BUILD SUCCESSFUL Now if the password is not blank, then LAMS can't even access the db as I believe it has been the case. Why does LAMS assumes by default the MySQL root is blank? Well, when I put together this installer my target audience was my grandma that loves Macs but has no idea what a root password for MySQL is. And since on the installation instructions for Mac OS X we go thru the standard MySQL installation, then the need to mention this was seen as adding unnecessary complexity that might not be needed in most cases. 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? I have put the Mac OSX installation instructions up on the web now (http://lamsfoundation.org/downloads/macosx/). If you have a look at the end part of the "Ensure MySQL is setup to run at startup" section, you'll have there the commands to check whether the root password has changed. Please let me know how you go. Ernie Posted by Ernie Ghiglione |
Reply to first post on this page
Back to Problems Installing LAMS