Tried to create a database to test and learn sql, got mod security

Avatar
  • Answered
Hi. I tried to create a test database to learn some sql, and ended up with a mod security error.

Error 406 - Not Acceptable

Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.

Please help
Avatar
JacobIMH
Hello, It looks like you've triggered a ModSecurity block for the requests having a signature of a SQL injection attack. If you're just trying to learn SQL itself, and not interacting with it at the PHP level, you might have better luck using something like the remote MySQL Workbench application. You could disable ModSecurity temporarily if you wanted to test things a bit on your website directly. I would not recommend leaving ModSecurity disabled as there are a huge range of attacks these days it can help protect you from. Please let us know if you have any other questions at all. - Jacob