Find the answer to your Linux question:
Results 1 to 4 of 4
Suse 9.0 apache2 and php working a treat but getting an error message if I try and do anything involving calls to mysql. Anyone know how configure/enable mysql on Suse ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Farnborough, UK
    Posts
    1,305

    Getting MySQL working


    Suse 9.0

    apache2 and php working a treat but getting an error message if I try and do anything involving calls to mysql. Anyone know how configure/enable mysql on Suse 9.0?

    Ta
    Lansbury's Lido

    thekiadriver on #linuxforums - fleetingly

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    when you compile the php module, on the ./configure line, include --with-mysql, eg:
    Code:
    ./configure --with-mysql
    Jason

  3. #3
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Farnborough, UK
    Posts
    1,305
    Quote Originally Posted by Jaguar
    when you compile the php module, on the ./configure line, include --with-mysql, eg:
    Code:
    ./configure --with-mysql
    Jason
    None of that compiling malarkey here, twas all done at installation. MySQL is down as installed. Just not working

    Loading phpmyadmin gives this:

    MySQL said:


    #2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    Lansbury's Lido

    thekiadriver on #linuxforums - fleetingly

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Farnborough, UK
    Posts
    1,305
    Sorted, needed to run 'rcmysql start' from a root console.

    Ta
    Lansbury's Lido

    thekiadriver on #linuxforums - fleetingly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •