Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-13-2006, 04:11 AM   #1
Registered: Jun 2005
Location: CyberIsland
Distribution: Debian and Fedora
Posts: 31

Rep: Reputation: 15
mysql on debian sarge

I tried to install mysql on debian and found out that mysql packages were not included in the cds as in Fedora..

I did some reserch on the net and got two packages from the debian website (client and server packages). however Im getting problems to install them.

Have I missed any important package that needed to be installed along with the client and the server package?

Where can I eventually find (on the net) a complete mysql package, preferably one that has already been converted for debian(.deb)

Old 03-13-2006, 07:52 AM   #2
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Can't you use the software on

Can you tell me what is going wrong? The client (mysql) and server (mysqld) should suffice, except if you're
connecting to MySql from websites, programs (Java, C++, etc), in which case you might need additional drivers/tools.

Do you get any error messages?
Have you confirmed that the server is running? The client won't work if the server isn't running or is inaccessible.
Old 03-13-2006, 12:51 PM   #3
Registered: Jun 2005
Location: CyberIsland
Distribution: Debian and Fedora
Posts: 31

Original Poster
Rep: Reputation: 15
mysql on debian sarge

here are the errors I'm getting when trying to start mysql:

Thierry:/etc/rc.d/init.d# mysqld start
060312 22:55:27 Warning: Can't create test file /var/lib/mysql/Thierry.lower-test
mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 2)
060312 22:55:27 Aborting

060312 22:55:27 mysqld: Shutdown Complete

any idea about what could be the problem?
Old 03-13-2006, 02:08 PM   #4
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Try this guide to do the install.
Old 03-13-2006, 06:19 PM   #5
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Or this one...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper-1.10 debian debian sarge BCM4306 802.11b/g ]x-k[ Linux - Wireless Networking 3 03-12-2006 12:42 AM
sarge 3.1, Apache2, php and mysql rblampain Debian 4 12-17-2005 12:03 AM
Debian Sarge 3.1 brisde Linux - Hardware 3 08-31-2005 02:45 PM
Pure-ftpd-mysql + Sarge nestor10 Linux - Software 1 01-26-2005 08:06 AM
Debian, Sarge Little Dump Linux - General 1 09-29-2004 01:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration