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.
Hello all,
well I have installed MYSQL and when I lunch it, it waits me to enter a password, but when I install it, I didnt enter a password, so that prompt shouldn't be included , so what should I do?
thanks
It's a normal behavior of mysql (as far as I know)
Type in the shell:
$mysql -u root -p
Enter password: [just hit enter]
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 4.0.20-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> SET PASSWORD FOR root@localhost=password('newPassword');
(-u to specify the user and -p to specify you want to input a pwd)
Already in the mysql prompt you can set your password with the command mentioned above.
If you don't want to specify user and password each time you execute mysql, you can save your preferences at ~/.my.conf, i.e.:
$mysql -u myUser -p myPwd
will be the same that writing in your my.conf the following
assuming you installed it as root..
are you logging in as root? or as another user.. if you are logging in as another user you have to add the user info to the user db in mysql using the root account first..
but when i install it , I didn't supply any password
yes, but as far as you have to access mysql using user and password, the default installation provides you with a blank default password which I [languaje false friend]hardly[/language false friend] STRONGLY encourage you to change.
It is a normal behavior
Edited: sorry people, I only read english not speak it. For now on, I'll be sticked to an on-line dictionary to check the sense of my posts. I cannot believe that only a word changed all the meaning of my sentence. Sorry
No sarcasm at all, people, just some ineptitude with english and bad luck with a false friend. (Thanks Hko for this language tip ). Error edited and corrected.
Be positive, boy, I'm learning some GNU/linux and also improving my english...
No sarcasm at all, people, just some ineptitude with english and bad luck with a false friend. (Thanks Hko for this language tip ). Error edited and corrected.
Be positive, boy, I'm learning some GNU/linux and also improving my english...
My apologies again.
PS: @alsharifhoussam change your password ASAP
I think there are no apologies really needed.. just a simple misunderstanding.. and also I was referring to banning sarcasm for myself.. once again, I failed in using it.. lol
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.