First of all, I developed my own computer's hosts domain name point is admin.xxx.com LAN that computer is admin.test.xxx.com
Now the situation is my browser input admin.xxx.com when there is an error, but the code submitted to the test machine (admin.test.xxx.com) after the input point to the test machine domain name on the above operation will not error.
Project (PHP program) is connected to the LAN test machine MySQL service. My local computer opened Apache. have been good before, these days suddenly appeared in the picture of the error
To search according to what others have said, max_allowed_packet
changing the parameters from 1M to 20M seems to be the case.
Use of the CI framework, database configuration and so on have not moved. That's weird.
+--------------------------+------------+| Variable_name | Value |+--------------------------+------------+| max_allowed_packet | 20971520 || slave_max_allowed_packet | 1073741824 |+--------------------------+------------+2 rows in set (0.01 sec)
Am I guessing that it has something to do with the network where I develop the machine to the test machine?
I don't know if anyone can read it. Thank you, everyone.
Reply content:
First of all, I developed my own computer's hosts domain name point is admin.xxx.com LAN that computer is admin.test.xxx.com
Now the situation is my browser input admin.xxx.com when there is an error, but the code submitted to the test machine (admin.test.xxx.com) after the input point to the test machine domain name on the above operation will not error.
Project (PHP program) is connected to the LAN test machine MySQL service. My local computer opened Apache. have been good before, these days suddenly appeared in the picture of the error
To search according to what others have said, max_allowed_packet
changing the parameters from 1M to 20M seems to be the case.
Use of the CI framework, database configuration and so on have not moved. That's weird.
+--------------------------+------------+| Variable_name | Value |+--------------------------+------------+| max_allowed_packet | 20971520 || slave_max_allowed_packet | 1073741824 |+--------------------------+------------+2 rows in set (0.01 sec)
Am I guessing that it has something to do with the network where I develop the machine to the test machine?
I don't know if anyone can read it. Thank you, everyone.
Could you post the MySQL log, please?