Hello,
I have looked on php.net for error codes generated by the exceptions. But I have not found nothing. Do you know where I can find them?
These are the errors:
SQLSTATE [42000] [1049] Unknown database 'data'
thank you in advance
Hello,
I have looked on php.net for error codes generated by the exceptions. But I have not found nothing. Do you know where I can find them?
These are the errors:
SQLSTATE [42000] [1049] Unknown database 'data'
thank you in advance
As the error indicates your connection seems to be OK but the base data does not exist. When your mysqlconnect () you must specify the name of the database to which you want to connect.
It is an error generated by mysql? I would have gone to see on the MySQL site: http://dev.mysql.com/doc/refman/5.1/...es-server.html
Thank you for your advice, it is exactly that I was looking for.
Bookmarks