Jump to content

Recommended Posts

I have an issue to choose the MySQL package.

Since I cannot use RPM to install, I have to install from source. But I tried download mysql-5.5.24.tar.gz and mysql-5.5.24-linux2.6-i686.tar.gz, I couldn't find configure to run.

Can anyone tell me which correct package should I download?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/265127-which-mysql-package-to-download/
Share on other sites

Mysql uses CMake to configure it and generate the make files.  Make sure you have that installed, then run cmake -L . in the root of the mysql source directory to view the variables.  A few how-to's about using cmake might be worth reading.

 

Thank you kicken. I have used cmake to install the MySQL. Now I have new questions on configuration.

 

Since I installed the mysql on my personal folder, like /home/myname/lamp/mysql, when I tried to use ./mysqld start, it shows

 

./mysqld: Table 'mysql.plugin' doesn't exist

120703 11:15:03 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

120703 11:15:03 InnoDB: The InnoDB memory heap is disabled

120703 11:15:03 InnoDB: Mutexes and rw_locks use GCC atomic builtins

120703 11:15:03 InnoDB: Compressed tables use zlib 1.2.3

120703 11:15:03 InnoDB: Initializing buffer pool, size = 128.0M

120703 11:15:03 InnoDB: Completed initialization of buffer pool

120703 11:15:03 InnoDB: highest supported file format is Barracuda.

120703 11:15:03  InnoDB: Waiting for the background threads to start

120703 11:15:04 InnoDB: 1.1.8 started; log sequence number 1595675

./mysqld: Too many arguments (first extra is 'start').

Use --verbose --help to get a list of available options

120703 11:15:04 [ERROR] Aborting

 

120703 11:15:04  InnoDB: Starting shutdown...

120703 11:15:04  InnoDB: Shutdown completed; log sequence number 1595675

120703 11:15:04 [Note] ./mysqld: Shutdown complete

 

 

If I tried ./mysqladmin version, it shows

./mysqladmin: connect to server at 'localhost' failed

error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'

 

=======

Question: I didn't see that mysql.sock file, where can I find it? I don't have permission to write to /etc/, where to copy that my-medium.cnf file (this is one of the step from tutorial).

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.