Strick Mode Work Around on MYSQL 5.7+
When you install a script and you get errors that portions of the database tables didn't get imported correctly and are maybe missing, most likely its due to MYSQL Strict Mode on your server. What Strict Mode is doing is blocking certain tables from being inported for example: having zeros in your table for time 00.00.00 could keep a table from importing.
You will get errors similar to:
1146 - Table 'blablabla' doesn't exist
select blablabla as blablablakey, blablabla_value as blablablaValue from blablabla
DATABASE_TEP_DB_ERROR
The first step you need to take is SSH into your server with WinSCP and locate the my.cnf file so you can open and edit.
Here are a few locations it could be located:
- /etc/my.cnf
- /etc/mysql/my.cnf
- $MYSQL_HOME/my.cnf
- [datadir]/my.cnf
- ~/.my.cnf
Please sign in to leave a comment.
Comments
0 comments