How to show mysql error in codeigniter

So to catch the error message you need to set the. I just took a quick peek inside the system/ database/ DB_ Driver. php ( line 323) file and it doesn' t log the SQL query with any settings you choose. It should however print these messages to the screen if you are in db_ debug. Hello, Making rest api using CodeIgniter 3. 3 I want in case of mysql error to return error description in json return block. PHP Code: db_ debug = true. I get error message like on my screen : PHP Code:. Then in your db error view file, mine is in application/ errors/ error_ db. php replace all content with the following:

  • Itunes error 21 battery
  • 403 error wp login
  • Error code 3 motorola hubble
  • Excel 2013 macro error 400
  • Java error type is already defined

  • Video:Error mysql show

    Mysql error show