I can not connect to my MySQL database (not localhost). I get the message: “Checking if connection is valid: Database not connected, Kindly check database configuration.”
I can’t understand what’s the matter. After all, using the mysql or Workbench utility, I can connect to my database without problems.
Hello,
You can setup demos manually using this process. It is equivalent to this installer.
http://www.phpgrid.org/docs/setup/#installing-demos-manually
When i try Execute \”database.sql\” on a Mysql Database, I get a message from Workbench at row 218: \”Error Code: 3814. An expression of a check constraint \’ck_birthdate\’ contains disallowed function:` getdate`.
Emailed you latest.
Thank you very much! That helped!
But now when I try to start, I get the message:
“Please check your database connection configuration. Server sent charset unknown to the client. Please, report to the developers”
I think this error is related to mysql configuration. Refer this soluton from stackoverflow:
https://stackoverflow.com/a/54058742/385377
Did as indicated by link. As a result, when querying \”mysql> status\” I get the output:
- Server characterset: utf8mb4
- Db characterset: utf8mb4
- Client characterset: utf8
- Conn. characterset: utf8
But nothing changes. What values should be for the normal operation of PHP Grid?
These values seems to be correct. What server configuration are you using. OS, PHP Version, Mysql Version, Environment (xamp,wamp etc).
I’ve sent an invitation on google hangouts. If you discuss there and tell you working hours, it will speed up the ticket.
Reply from my hosting provider:
Operating System: CentOS6;
Web server: Nginx and Apache HTTP Server Version 2.2;
PHP 5.1-7.3 in FastCGI mode.
The database is on another server. And I have access to it through mysql:
mysql> status
————–
mysql Ver 14.14 Distrib 5.7.27, for Linux (x86_64) using EditLine wrapper
Connection id: 50
Current database:
Current user: [email protected]
SSL: Cipher in use is DHE-RSA-AES256-SHA
Current pager: stdout
Using outfile: ”
Using delimiter: ;
Server version: 8.0.17 MySQL Community Server – GPL
Protocol version: 10
Connection: x.x.x.x via TCP/IP
Server characterset: utf8mb4
Db characterset: utf8mb4
Client characterset: utf8
Conn. characterset: utf8
Also answered you in hangouts