Installation error (4 posts)

  1. Dougal Campbell
    Posted 12 years ago #

    The only mysql user privs you should need are Select_priv, Insert_priv, Update_priv, Delete_priv, and Create_priv.
    I would double-check your $abspath and $b2inc values... You might want to consider starting with the 0.72 release candidate. It has a friendlier initial setup.

  2. squishy
    Posted 12 years ago #

    Thanks for helping out, dougal.
    I downloaded 0.72 and installed it. I get the same results for /wp/wp-admin/wp-install.php as before:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD>
    Here are the lines I changed in my wp-config.php (nothing at the end of the file):
    define('DB_NAME', 'mc'); // The name of the database
    define('DB_USER', 'mcadmin'); // Your MySQL username
    define('DB_PASSWORD', 'xxx'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    I bet there's a problem with it connecting to mysql. For fun, here's how I access mysql, get the stats for the database mc and then try to lookup the wp_posts table:
    [bin]$ ./mysql -p --user=mcadmin mc
    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 50 to server version: 4.0.15-standard-log
    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    mysql> \s
    ./mysql Ver 12.21 Distrib 4.0.15, for pc-linux (i686)
    Connection id: 50
    Current database: mc
    Current user: mcadmin@localhost
    SSL: Not in use
    Current pager: stdout
    Using outfile: ''
    Server version: 4.0.15-standard-log
    Protocol version: 10
    Connection: Localhost via UNIX socket
    Client characterset: latin1
    Server characterset: latin1
    UNIX socket: /var/lib/mysql/mysql.sock
    Uptime: 1 day 1 hour 49 min 54 sec
    Threads: 1 Questions: 124 Slow queries: 0 Opens: 38 Flush tables: 1 Open tables: 2 Queries per second avg: 0.001
    mysql> select * from wp_posts;
    ERROR 1146: Table 'mc.wp_posts' doesn't exist
    mysql> show tables from mc;
    Empty set (0.00 sec)

  3. squishy
    Posted 12 years ago #

    I still am not able to install wordpress (see previous messages).
    Any ideas?

  4. squishy
    Posted 12 years ago #

    Alright, I'll answer my own question: I didn't compile php4 with the --with-mysql option.
    Things progressed a lot farther after recompiling php.
    I still have some errors...but at least things seem to be working now :)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.