LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2003, 06:47 AM   #1
joel112
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 169

Rep: Reputation: 30
mysql install probs on slackware


i cant get mysql to install on slackware at all, i have downloaded the latest binarys, and ran the ./configure script and it says i dont need to make or make install it, but whan i try to start it, with safe_mysql & it just says mysql ended. i cant work out whats wrong, is there an easier way to upgrade the mysql that comes with slackware 3.45 i think it is to mysql 4.0.13. anyone else had simialar problems?
 
Old 05-31-2003, 06:55 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
So you pretty much just:
download the latest tarball;
untar it to:
/usr/local
Make the symlink:
ln -sf /usr/local/mysql-version-platform /usr/local/mysql
Enter the new directory:
cd /usr/local/mysql
And type:
scripts/mysql_install_db
You then need to chown and chmod the files (btw, at this point I couldn't remember exactly, so I just pulled up the INSTALL-BINARY file from my /usr/local/mysql directory)
So:
chown -R root .
chown -R mysql data
chgrp -R mysql .
bin/mysqld_safe --user=mysql &

If you want to (I did) you can have this startup on reboot, several ways, I:
copy support-files/mysql.server to /etc/rc.d/ and then edit /etc/rc.d/rc.local to have a line:
/etc/rc.d/mysql.server start
And that's pretty much it. Don't forget to set a root password.

HTH

Cool
 
Old 05-31-2003, 06:57 AM   #3
joel112
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 169

Original Poster
Rep: Reputation: 30
will have another bash later... liking the whole compactness of slack as a whole and dont really want to have to go back to dead rat
 
Old 05-31-2003, 07:06 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Cool, if you have an older database I don't think it's a problem carrying it over, however you might find me to be completely wrong:
http://www.mysql.com/doc/en/Upgrading-from-3.23.html
It doesn't look too bad, assuming you have a decent idea of how to work with mysql. If you don't have any databases (or very few and/or replaceable ones) then simply remove the one that came with slack (use pkgtool or removepkg) and do the regular install as described above (or in the INSTALL-BINARY in the mysql directory).



Cool
 
Old 05-31-2003, 05:27 PM   #5
joel112
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 169

Original Poster
Rep: Reputation: 30
thanks mate your a star, works great, apart from i want it to ask for the root password before u can acess it, i chenged the encripted password on the user options bit but it doesnt ask for the p/w before you can see the DB's
 
  


Reply



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
probs in starting mysql ankscorek Linux - Software 3 07-17-2005 05:38 PM
mysql probs berrance Linux - Software 1 04-18-2005 09:45 AM
probs with mysql ankscorek Linux - Software 2 04-11-2005 12:50 PM
MySQL install trouble on slackware 9.1 neo.sarcastic Linux - Newbie 4 03-13-2004 08:14 AM
mysql++ install issues on slackware 9 compupurdy Linux - Software 2 01-12-2004 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:37 PM.

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