1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    I am trying to work with combination on

    The first basic script php3 is working fine
    without any database queries.

    When I expand the script with MySql functions
    to interact with database getting errors like this.

    Cannot access server, can't access /tmp/mysqlsock .....

    The errors are displayed on browser screen.
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Well it seems, that your MySQL server is not working, did you start it? It's done like this:

    mysql.server start

    Or maybe you didn't configured php to work with mysql? You can check it by calling the phpinfo() function, if there is a info about mysql, then your php is configured to use mysql, and your problem is within mysqlserver.

    Maybe you should read some fine tutorials about mysql administration here on devshed or webmonkey?


Similar Threads

  1. Replies: 0
    Last Post: January 16th, 2004, 05:41 AM

IMN logo majestic logo threadwatch logo seochat tools logo