MySQL Error: Could not select the database

Can you help me, if i forgot something on my installation. My website is www.youngmarketmasters.com/index2.html (website is not yet finish), I want to put the gallery page here http://www.youngmarketmasters.com/html/gallery.html.

I follow the installation guidelines.
1. download and install the zen photo
2. edit zp-config.php.example file, create database and rename it to zp-config.php
3. upload the zen photo folder, I upload it inside the /www
the index.php is on www/zenphoto/index.php
the setup.php and zp-config.php is on www/zenphoto/zen
Is it ok if i upload the zen folder inside the /www?

////////// zenPHOTO Configuration Variables //////////////////////////////
// After you're done editing this file, load
// http://www.youngmarketmasters.com/zenphoto/zen/setup.php -----What will I gonna put on this?
// to run the setup (of course, replacing the paths where needed).
// NOTE: web_path and server_path are no longer needed! If you're having problems
// with the auto-detected paths, you can override them at the bottom of this file.
////////////////////////////////////////////////////////////////////////////////

And when I visit
http://www.youngmarketmasters.com/zenphoto/zen/setup.php
it said MySQL Error: Could not select the database youngmar_ymmaevents
zenphoto setup.

Does the path is right? Or I will put the gallery.html page before /zenphoto/zen/setup.php?

Additional
When I visit
http://www.youngmarketmasters.com/zenphoto/index.php

It said
MySQL Error: Could not select the database youngmar_ymmaevents

Warning: Cannot modify header information - headers already sent by (output started at /home/youngmar/public_html/zenphoto/zen/functions-db.php:24) in /home/youngmar/public_html/zenphoto/index.php on line

Please help me,

Thank you in advance

Domie
Sign In or Register to comment.