Try it FREE
Knowledge Base Frequently Asked Questions   Phone Phone: +1 (720) 336-8323 M-F 9am-5pm MST   Download Free
Free Trial
Knowledge Base
Knowledge Base » Errors and Troubleshooting » mysql_connect: SQL safe mode in effect
mysql_connect: SQL safe mode in effect

If sql.safe_mode is enabled, MySQL connection ignores any arguments passed to them.  This is caused due to your php.ini sql safe mode settings.  Simply edit the server php.ini file and set the "sql.safe_mode" to Off:  If you are unsure where the php.ini file is located, please contact the hosting company or your web server admin.


sql.safe_mode = Off


After the update, restart the web server so that the changes goes into effect.

Was this helpful?
could be more helpful? send comment
back to top