Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Installing WordPress
    In reply to: DB Error
    Thread Starter rapha

    (@rapha)

    # ls -l /var/run/mysql/mysql.sock
    srwxrwxrwx 1 _mysql _mysql 0 Oct 10 00:52 /var/run/mysql/mysql.sock
    So yes, it’s there. I tried using my server’s IP instead of “localhost”, but it doesn’t look like it could be fooled that easily. So how do you get WordPress to connect to mySQL by means of TCP?

    Forum: Installing WordPress
    In reply to: DB Error
    Thread Starter rapha

    (@rapha)

    Hi again,
    I’m trying it with 0.72 now, but still the same problem — it’s not able to connect to the mySQL database. And yes, the database name in wp-config.php _is_ set correctly, as are username, password and hostname. Using `mysql -u <username> -p’ is working just fine, too.
    What could this be related to?
    Best, Raphael

    Forum: Installing WordPress
    In reply to: DB Error
    Thread Starter rapha

    (@rapha)

    Well, the file I downloaded was `wordpress-071-gold.tar.gz’. But I’ll try 0.72 if you say that’ll work.
    – R.

    Forum: Installing WordPress
    In reply to: DB Error
    Thread Starter rapha

    (@rapha)

    > It at least does have a root password set (`mysql -uroot -pmypassword’
    > on the console works, and that’s also the data I used for b2config.php).
    So the answer is yes, I have.

    Forum: Installing WordPress
    In reply to: DB Error
    Thread Starter rapha

    (@rapha)

    Hi All,
    trying to install WordPress here (following the 5-minute-recipe), I’m afraid I’ve not come nearly as far as the other newbies :-). The error message it gives me upon calling wp-install.php is:
    DB Error, could not list tables MySQL Error: Can’t connect to local MySQL server through socket ‘/var/run/mysql/mysql.sock’ (2)
    That’s probably due to my lacking knowledge in MySQL administration, but searching the MySQL docs just gave me a headache. It at least does have a root password set (`mysql -uroot -pmypassword’ on the console works, and that’s also the data I used for b2config.php).
    The system I’m trying this on is OpenBSD 3.4, MySQL 3.23.57 and PHP 4.3.3.
    I’d be grateful for any hints that you might have!
    Cheers, Raphael

Viewing 5 replies - 1 through 5 (of 5 total)