ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
At the risk of insulting your intelligence is mysqld running? If it is running your software might be looking for mysql.sock in the wrong place, run
Code:
find / -name mysql.sock
in an attempt to located it, mine is in /tmp which is the default location when doing a source install, dunno about Redhat's (I'm assuming you mean Redhat 7 by 'Linux 7' ) RPMs. If you do find it somewhere else then have a go at using
Code:
mysql -S /some/path/mysql.sock -u root -p mysql
to initiate the connection as user root, and using the 'mysql' database, this will prompt you for a password if you have one set. You can set this using /etc/my.cnf if you don't want to type it in every time. Check out the mysql manual for file details.
The error it gives you is when you run 'find' yeah? What happens when you use the mysql command to connect to it, as mentioned ealier? The 'find' might be trying to stat the file, which is really connected to a process, which is knocking you back in the same way it would with any unauthenticated access...
When I tried to update the packages it gave me an error stating that the updated packages conflicted with the packages that were already installed and did not let me update. Again, I'm a novice with linux and may be doing something wrong. I think I did everything correctly. I'm a novice with Linux but I'm pretty adept in a wide variety of other operating systems and applications I hold certifications in Microsoft, Novell, Cisco, Prosoft, and CompTia. I say this so you know that I'm not a complete dummy, I just do not know a lot about Linux.
i know the problem is witht he packages. i had the exact same problem with them. you may want to check the man page for rpm and force the packages. you can also try unistalling the current mysql packages then installing the new ones.
it may abort because of depends.. i usually just remove all deps, and do everything over(mysql shouldnt have very many depends.. i have never tried it with the --nodeps option...
but that will ignore all dependencies and just remove it...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.