#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    UK
    Posts
    14
    Rep Power
    0
    hi

    i have just installed PHP4.0.2 onto our raq3 which is running Apache 1.3.9 on Linux

    i had recently setup a few databases using PHP3 & MySQL.

    after installing the PHP4, i cant access the databases using phpMyAdmin

    it gives me an error "No Database Selected"

    i have noticed that there is a difference between the php3.ini & php.ini which comes with PHP4.

    it asks for a mysql.default_socket ?

    can any1 help.. please :]

    [This message has been edited by Jonny L (edited September 13, 2000).]
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    London/UK
    Posts
    91
    Rep Power
    15
    Hiya

    from the command line use mysqladmin (you may need to pass in your uname/password

    for example
    bash$> mysqladmin -u root variables

    this'll give you a load of runtime variables for mysqld, one of them is where the unix socket it, mine is /tmp/mysql.sock

    you can then add this in php.ini

    Dunno about win32 tho

    hth

    Bealers


    ------------------
    http://back-end.org
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    UK
    Posts
    14
    Rep Power
    0
    thanx m8, i had sorted it this morning

    cheers for replying.

Similar Threads

  1. Mysql problem.
    By Nik in forum MySQL Help
    Replies: 54
    Last Post: December 21st, 2006, 06:02 PM
  2. Upgrade from access to mysql
    By karib1 in forum ASP Programming
    Replies: 7
    Last Post: December 16th, 2003, 12:35 PM
  3. Upgrade from access to mysql
    By karib1 in forum MySQL Help
    Replies: 1
    Last Post: December 16th, 2003, 12:27 AM
  4. problem: asp files, from access to mysql
    By karib1 in forum MySQL Help
    Replies: 1
    Last Post: November 26th, 2003, 03:16 AM

IMN logo majestic logo threadwatch logo seochat tools logo