Segmentation fault on login to mysql

Posted by numberwhun on Server Fault See other posts from Server Fault or by numberwhun
Published on 2010-01-16T02:11:23Z Indexed on 2010/05/19 15:32 UTC
Read the original article Hit count: 459

Filed under:
|
|

Hello everyone! I recently did a fresh install of Ubuntu on my laptop (HP dv7, AMD Dual Core with 4 gigs RAM). I am working on installing my development environment and tools and one of the first things I was working on is getting MySQL installed.

The following was my configure statement with options:

./configure --prefix=/usr/local/mysql --with-big-tables --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock --with-named-curses-libs=/lib/libncurses.so.5.7

After I did the make;make install, I did the post configuration such as setting the root password and installing the mysqld daemon in its rightful place.

My issue is when I try to log in to mysql to start using it, the following shows what happens:

$ mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.42 Source distribution

Segmentation fault

I have searched Google extensively, I have searched through the mysql bugs database and I have yet to find anything that matches my issue.

Here is the contents of my my.cnf file, in case you want to see it:

$ cat /etc/my.cnf
[mysqld]
basedir=/usr/local/mysql
datadir=/usr/local/mysql
socket=/usr/local/mysql/tmp/mysql.sock

[mysql.server]
user=mysql
#basedir=/var/lib

[client]
socket=/usr/local/mysql/tmp/mysql.sock

[mysqld_safe]
err-log=/usr/local/mysql/logs/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

I am really hoping that someone here can tell me what has gone wrong with my installation as I would really love to know. I welcome and look forward to all responses. Thank you in advance!

Best regards,

Jeff

© Server Fault or respective owner

Related posts about mysql

Related posts about linux