Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Preview with localhost


Recommended Posts

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


This topic is now archived and is closed to further replies.

  • Create New...