![]() I also recommend reading "Can't connect to local MySQL server through" socket error to solve some issues regarding socket problems. ![]() you can also change that to the last 5.1.x version which is 5.1.72 and still works. It still downloads the 5.1.65 version and configure/makes it. After that you need to install MySQL and start the configuration. configure '-prefix=/usr' '-exec-prefix=/usr' '-libexecdir=/usr/sbin' '-datadir=/usr/share' '-localstatedir=/var/lib/mysql' '-includedir=/usr/include' '-infodir=/usr/share/info' '-mandir=/usr/share/man' '-with-system-type=debian-linux-gnu' '-enable-shared' '-enable-static' '-enable-thread-safe-client' '-enable-assembler' '-enable-local-infile' '-with-fast-mutexes' '-with-big-tables' '-with-unix-socket-path=/var/run/mysqld/mysqld.sock' '-with-mysqld-user=mysql' '-with-libwrap' '-without-readline' '-with-ssl' '-without-docs' '-with-extra-charsets=all' '-with-plugins=max' '-with-embedded-server' '-with-embedded-privilege-control' The short version of the installation is very simple. Found a script in github (Thanks kamermans) Since MySQL 5.1.X is only available in the repositories for 10.04 (Not 12.04), I started searching for others with the same issue. Is there any other way that I can install MySQl 5.1 in Ubuntu 12.04? I need to install a software that is compatable with Mysql 5.1, I had tried to install with MySQl 5.5 i got the following errorĬom.圎rrorException: You have an error in your SQL syntax check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 1 I had refered the site for RPM package installation in ubuntu Mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)Īfter installation mysql.sock file is missing also my.cnf file is also missing. Sudo dpkg -i mysql-client_5.1.73-2_bĪfter the installation I'm getting the following error: Issue following command to install Mysql-client: Issue following command to install Mysql-server: Issue following command to convert Mysql-client rpm to deb: Issue following command to convert Mysql-server rpm to deb: If you have already MySql installed (higher version than 5.1) then uninstall.Įxtract "MySQL-5.1.-bundle.tar" in same dir.Īnd, Navigate to "MySQL-5.1.-bundle" Sudo apt-get install alien dpkg-dev debhelper build-essential Run this command to install alien and other necessary packages if not installed: ![]() I have Ubuntu 12.04 installed, I need to install mysql 5.1 in that.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |