Member
Member
Potosi   2021-11-07, 16:35
#1

Hi,
My host, OVH, requests to modify the access to the database. Only .mysql.db is authorized. The old name is XXXbdd.
So, I have modified the file zp-data/zenphoto.cfg/php. Unfortunately, I have always the same error : No such file or directory.
The information are :
Database host: localhost
Database name: XXXbdd.mysql.db
Database server port: 3306

I have access to PHPMy admin without problem.

Thank in advance

Administrator
Administrator
fretzl   2021-11-07, 16:59
#2

You need to change the name of the actual database to XXXbdd.mysql.db too.

Member
Member
Potosi   2021-11-09, 18:17
#3

Thanks for your answer.
But I can't change the name of the actual database in OVH.. cf mutualized hosting -(
Is there any other solution?

Administrator
Administrator
acrylian   2021-11-09, 18:34
#4

I am not sure I understand your problem at all. If you have a database add its name and other credentials to the Zenphoto config file you find in zp-data/zenphoto.cfg.php. That's it.

If zp-data/zenphoto.cfg/php above is not a typo, that naturally does not work. Pay atention to the slash as there is no file "php". Not sure how you were able to try to modify that file without finding it in zp-data at all?

Naturally if this is a fresh database you need to run setup so Zenphoto sets up the require tables.

If the database does not work there is something wrong with the credential like the database host server name (it is not always "localhost" and depends on your webhost setup)

Member
Member
Potosi   2021-11-14, 15:43
#5

Thank.
I make a confusion with the data host server name. Now, it's work

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.