I'm trying to install on a sub domain on Network Solutions. I keep getting this error message.
"Could not connect to the MySQL server. Check the user, password, and database host in your zp-config.php file and try again."
I have been working through my site hand coding and try to code a photo gallery and struggled.
I thought this was going to be easy.
Comments
You need your host name or 'localhost'
Database name and the user and pass associated with this host
1. Should the username and password be the info we use to log into Network solutions or the username and password associated with that particular database?
2. Also, because I have all of the Zenphoto docs in the subdomain, is that possibly the problem? Do I need to move some of the set up docs into the main domain directory?
Thanks,
Megin
Installing in a subdomain might be a reason for `localhost` not being correct. Other than that there should be no problems installing in a subdomain.
Could not connect to the MySQL server. Check the user, password, and database host in your zp-config.php file and try again.
The username and password are correct. The config.php file self populates but not the config source file. I type in and save the correct information there and go through the install again and receive the same error message.
Any ideas? I'm about the call Network Solutions regarding the issue. It might be the host name, but I've tried localhost and my host name and both return this same error message.
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /data/16/1/10/39/1499039/user/1612490/htdocs/zenphoto/zp-core/setup.php on line 536
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /data/16/1/10/39/1499039/user/1612490/htdocs/zenphoto/zp-core/setup.php on line 538
MySQL access rights [unknown]
Your MySQL user must have Alter, Create, Delete, Drop, Index, Insert, Select and Update rights.
The SHOW GRANTS query failed.
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /data/16/1/10/39/1499039/user/1612490/htdocs/zenphoto/zp-core/setup.php on line 584
MySQL show tables [Failed]
MySQL did not return a list of the database tables for PBE.
Setup will attempt to create all tables. This will not over write any existing tables.
Ugggggg If this is easy......any suggestions?