Results 1 to 3 of 3

Thread: Check if mysql is in strict mode

  1. #1
    Join Date
    Jul 2006

    Check if mysql is in strict mode


    i wonder if there is a php function or something that allows me to know for sure if strict mode is on or off, something like phpinfo(). This is because im sure i disabled strict mode but for some reason i still get errors that seem to indicate its still on.

    Thank you.

  2. #2
    Join Date
    Aug 2004
    You could try running this query:
    SELECT @@sql_mode
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  3. #3
    Join Date
    Jul 2006
    Thanks. It says STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_ so that means its running on strict mode again! and i dont get why because i changed the configuration file and it was once on normal mode so i dont know why it went back to strict mode because i checked the config file and it hasnt changed since then. How can i fix this?

    Thank you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center