This forum is no longer active. Please post your questions to our new community site

Forums WordPress

MYSQL Errors on install

Subscribe to MYSQL Errors on install 9 post(s), 2 voice(s)

 
Avatar Martin E 16 post(s)

I just Bitnami’s Wordpress installed onto Ubuntu 8.10, and I get this error message:

“Error running /home/martin/wordpress/gsb/mysql/scripts/myscript.sh /home/martin/wordpress/gsb/mysql Jchr1stl1v3s : ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ’/home/martin/wordpress/gsb/mysql/tmp/mysql.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ’/home/martin/wordpress/gsb/mysql/tmp/mysql.sock’ (2)
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ’/home/martin/wordpress/gsb/mysql/tmp/mysql.sock’ (2)”

Any thoughts?

 
Avatar Martin E 16 post(s)

Launching Bitnami, I get the initial page load fine (http://127.0.0.1:8080/), but when I try the actual local wordpress blog, I get:

“Error establishing a database connection”

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi Martin,

It is strange, it seems that MySQL database can not start. Could you post any error in the mysql log file?

<installdir>/mysql/data/mysqld.log

Thanks.

 
Avatar Martin E 16 post(s)

Here’s the output:

090316 20:33:33 mysqld_safe Starting mysqld.bin daemon with databases from /home/martin/wordpress/gsb/mysql/data
/home/martin/wordpress/gsb/mysql/bin/mysqld.bin: Table ‘mysql.plugin’ doesn’t exist
090316 20:33:33 [ERROR] Can’t open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
090316 20:33:33 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait…
090316 20:33:33 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait…
090316 20:33:34 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait…
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
090316 20:33:34 InnoDB: Started; log sequence number 0 0
090316 20:33:34 [ERROR] Fatal error: Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist
090316 20:33:34 mysqld_safe mysqld from pid file /home/martin/wordpress/gsb/mysql/data/ubuntu-studio.pid ended

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

We can not reproduce this issue. Are you installing as “root” or as regular user? Do you have any other MySQL database installed? Could you check the permissions of /home/martin folder?

Thanks.

 
Avatar Martin E 16 post(s)

I’ll check the permissions and such, but what’s the uninstall process? I’ll start from scratch, manually selecting a port and such.

 
Avatar Martin E 16 post(s)

Sorry, had a brainfart. I’ve removed the install directory, and will try again…

 
Avatar Martin E 16 post(s)

Same error message on install. I selected the option to abort… I’ll just manually add a virtualhost to my existing local apache server. Thanks anyway!

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Sorry but we can not reproduce this bug. Some people on MySQL forum have the same issue but I can not see any related case: http://forums.mysql.com/read.php?11,51024,51024#msg-51024

Cheers.

Forums WordPress