Jump to content

Which MySQL Package to Download


TFT2012

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).

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.