Error of no database selected jsonp - invalid json
Error of no database selected jsonp - invalid json
4medo
Posts: 3Questions: 2Answers: 0
hello,
i have downloaded the datables script, and i put it on a local host server when i run server side example it gives me error of invalid Json , when i check the source as it mentioned here https://next.datatables.net/manual/tech-notes/1 it says : {"error":"An SQL error occurred: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected"} regarding that i haven't changed anything
what's wrong with the script? or what should i do? and thank you
This discussion has been closed.
Answers
http://datatables.net/examples/data_sources/server_side.html
Do you have your connection details in the server-side script?