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.
okay.. dont mean to start to new thred, but i've read and read, and nothing seems to be working..
okay here is whats going on: i have a fresh install of Red Hat 7.2, and i d/l the latest version of mysql from mysql.com, when to the /usr/local dir and ran gunzip < /root/mysql-version-.tar.gz | tar xvf - just as the instructions say, then changed dir to /usr/local and ran ln -s mysql-version-dir mysql to link mysql to make it easier for typing. went into mysql and ran scripts/mysql_install_db to create the grant tables. after doing this i tried to start the server by running bin/safe_mysql --user=mysqld &
and this is what happenes
[root@localhost mysql]# Starting mysqld daemon with databases from /usr/local/mysql/data
020507 22:47:40 mysqld ended
and freezes till i push enter.
aslo if i try to run bin/mysqladmin version to check and see if mysql is running i get this
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
i've done this server times, and keep getting nothing, and making things worse, and having to reformat and resintall linux.. anyone have any suggestions or any help??????
Originally posted by gtstang i've done this server times, and keep getting nothing, and making things worse, and having to reformat and resintall linux..
had to much stuff cluttered up, and mysql files floating everywhere, and didnt have much of a choice, and seeing that it was already a fresh install of linux. i didnt mind much.. mysql was the first thing i've been trying to get running on it before ido anything else
You should try to avoid that format/reinstall thing whenever you can because it just takes time.
I've never used mysql. I have postgresql running on my computer but I never really used it either. Maybe you can search this site or other sites for more info about mysql ( maybe google). Good luck...
i'd love to avoid reformating and installing, if i could figure out how to get mysql to install properly and running. formating and starting over is the only way i'm sure that i'm that i get everything with mysql cleaned up and can start over trying to figure out what went wrong..
anyone get mysql working with red hat 7.2? any help would be nice? process that i should be taking to install mysql. or what i may be doing wrong.. i've read serveral installation guides, and i've searched through forums, and done everything they say, but nothing seems to be working.. i keep getting the same error message...
check the log files and see what error messages are in there.
you'll find them in:
mysql/data/
Post them in here if you still cant figure it out. Seems like either: a) you have something else running on the same port. b) mysql is already running. c) urmmm, there is more but i cant think of them just now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.