Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Thank u very much for ur each n every expalnation.
It is running but not connecting to mysql.what shall i do?
This was posted only about ten minutes before this latest thread.
If you don't want any more help installing or configuring something, then it is better to say so in the same thread---As it is, people are still trying to help you while you are starting a new thread which implies you no longer care.
You should run su mysql while being root as root can change to any user without being prompted for a password.
The only time I have seen su mysql being used is when you want to create the default databases as this should be done as the mysql user so the mysql server can access them afterwards. This is only required once and depends on the way you installed mysql (it might be part of the installation procedure in some distro's). After that there is no longer a need to be the mysql user.
Last edited by Wim Sturkenboom; 08-04-2009 at 10:25 AM.
Reason: fixed typo
When i log in as root and give the command su mysql,
it is giving erroe msg..."bash -3.2$". from this point of view no command is working or command prompt is not coming.
Which error message?
wim@btd-techweb01:~$ su - root
On a scale of 1 to 10 I'd say... oh, somewhere in there.
root@btd-techweb01:~# su - mysql
/dev/pts/0: Operation not permitted
A diplomat is a man who can convince his
wife she'd look stout in a fur coat.
Taken from my Slackware 10.1 box. You can ignore the error message that is in italic.
The $ indictes that you're a normal user and the # indicates that you're root. So in your case, you basically became the mysql user and there are no (real) problems at that stage.