#1
| |||
| |||
PHP Error exceptions 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 |
#2
| |||
| |||
Re: PHP Error exceptions 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. |
#3
| |||
| |||
Re: PHP Error exceptions 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 |
#4
| |||
| |||
Re: PHP Error exceptions Thank you for your advice, it is exactly that I was looking for. |
![]() |
|
Tags: error code, php |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Resource Exceptions | shoppingboy | Windows Software | 2 | 05-03-2010 08:40 PM |
Exceptions of PHP in set_exception_handler? | - Empty Shell - | Software Development | 5 | 23-02-2010 02:12 AM |
What are Exceptions in PHP 5? | DANIEL 602 | Software Development | 5 | 23-02-2010 01:35 AM |
What is Log .NET Exceptions | Agneya | Software Development | 4 | 07-02-2010 01:34 AM |
Handle exceptions from jsp page | Jagdish Gada | Software Development | 3 | 24-11-2009 11:05 AM |