Results 1 to 4 of 4

Thread: PHP Error exceptions

  1. #1
    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

  2. #2
    Join Date
    Jun 2006
    Posts
    623

    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. #3
    Join Date
    Dec 2007
    Posts
    1,736

    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. #4
    Join Date
    Aug 2004
    Posts
    76

    Re: PHP Error exceptions

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

Similar Threads

  1. Resource Exceptions
    By shoppingboy in forum Windows Software
    Replies: 2
    Last Post: 05-03-2010, 08:40 PM
  2. Exceptions of PHP in set_exception_handler?
    By - Empty Shell - in forum Software Development
    Replies: 5
    Last Post: 23-02-2010, 02:12 AM
  3. What are Exceptions in PHP 5?
    By DANIEL 602 in forum Software Development
    Replies: 5
    Last Post: 23-02-2010, 01:35 AM
  4. What is Log .NET Exceptions
    By Agneya in forum Software Development
    Replies: 4
    Last Post: 07-02-2010, 01:34 AM
  5. Handle exceptions from jsp page
    By Jagdish Gada in forum Software Development
    Replies: 3
    Last Post: 24-11-2009, 11:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,920,649.88549 seconds with 17 queries