Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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).
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.