Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 01-05-2009
Member
 
Join Date: Aug 2004
Posts: 76
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
Reply With Quote
  #2  
Old 01-05-2009
Member
 
Join Date: Jun 2006
Posts: 620
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.
Reply With Quote
  #3  
Old 01-05-2009
Member
 
Join Date: Dec 2007
Posts: 1,728
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
Reply With Quote
  #4  
Old 01-05-2009
Member
 
Join Date: Aug 2004
Posts: 76
Re: PHP Error exceptions

Thank you for your advice, it is exactly that I was looking for.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "PHP Error exceptions"
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


All times are GMT +5.5. The time now is 05:32 PM.