PHP Live! Help Desk
Search:
» Help Desk Home » 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]
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? let us know