Support Center

Recent questions

About Koken

This Help Center provides support for Koken, a free content management system designed for photographers, artists and designers.

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Database connection error

Massimo

Feb 04, 2018 09:07AM EST

I can't access anymore the admin page of a koken installation.

Upon logging in shows:
"Cannot connect to the API. Error message:
Database connection failed. Make sure the database server is running and the information in storage / configuration / database.php is still correct."

The website is working just fine, but I can't access the admin end to make any changes.
I've checked the database.php file, no information is wrong, also checked the database and everything seems intact.

Thank you in advance for your help.

Up 0 rated Down

Team NetObjects Koken Agent

Feb 06, 2018 12:03PM EST

Hello. That error is because Koken cannot connect to the database server.

Login to your hosting control panel and find the MySQL database you created. Note the hostname, database name, username & password. Make sure it is running and the user account has full read / write permissions to the database. Then connect to your server using FTP and locate the database.php file in the koken/storage/configuration/ folder. Open the database.php file and make sure the database connections settings match those noted earlier.

If you are unfamiliar with how to accomplish this, your hosting company’s tech support can assist you.

Up 0 rated Down

Massimo

Feb 06, 2018 01:20PM EST
"I've checked the database.php file, no information is wrong, also checked the database and everything seems intact."

I've already done this, previous to the message.
Thanks anyway for your reply.

This question has received the maximum number of answers.

support@koken.me
http://assets3.desk.com/
false
koken
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete