Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

Linux install help (no replies)

$
0
0
Hello,

I've been trying to get mySQL server 5.0 on Ubuntu 11.10. I want this older version because it is the only compatible version that will work for what I need.

When I do a "apt-get install mysql-server-5.0" I get an error message:
Aborting downgrade from (at least) 5.1 to 5.0.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch12_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch12_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


If I do a "apt-get purge mysql-server-5.0" or a "apt-get purge mysql-server-5.1" I get a message saying they are not installed.

If I type "mysql -V" I get:
mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2

If I just go ahead and type the command "mysql" I get this common error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)

I also get the same error as above if I type the command "/etc/init.d/mysql start"


Any thoughts? I'm extremely confused what's going on. Any help is very appreciated.

Viewing all articles
Browse latest Browse all 7239

Trending Articles