Guest Posted November 12, 2008 Share Posted November 12, 2008 I can't preview my index.php on my local machine. I have MAMP loaded, followed all the intructions...and still I only see code. When I use the 'Sites' folder I get this error Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'mysqlv1' (1) in /Users/*usernamehere*/Sites/includes/functions/database.php on line 19 Unable to connect to database server! I am running OSX 10.5.5 I also manually started PHP. All the test pages for PHP and Apache work...but not for the osCommerce pages. What's the problem? Link to comment Share on other sites More sharing options...
arietis Posted November 12, 2008 Share Posted November 12, 2008 it looks like it's your database connection that isn't working. make sure the daemon is running and verify the database name, server and password. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.