What is it?
I've installed, uninstalled, purged, reinstalled and it didn't prompt for an initial password.
/usr/bin/mysqladmin -u root password 'newpassword' gets access denied.
Tried logging in without a password, with my usual local mysql passwords, my user/login/sudo password, and 'password'
No luck!
MySQL root password for LMDE
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
MySQL root password for LMDE
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: MySQL root password for LMDE
Really? Really?
http://tinyurl.com/yfeyoak
My question was intended as an easy, new-to-LMDE, and (ironically) googleable solution to this problem:
I didn't know if LMDE actually did have a default MySQL root password, or reasons for not prompting for one on install.
And yeah, I reset manually. Here's a direct link to skip the snark:
http://dev.mysql.com/doc/refman/5.0/en/ ... sions-unix
http://tinyurl.com/yfeyoak
My question was intended as an easy, new-to-LMDE, and (ironically) googleable solution to this problem:
...as all other distros I've used do.leneve wrote:installed and it didn't prompt for an initial password.
I didn't know if LMDE actually did have a default MySQL root password, or reasons for not prompting for one on install.
And yeah, I reset manually. Here's a direct link to skip the snark:
http://dev.mysql.com/doc/refman/5.0/en/ ... sions-unix
Re: MySQL root password for LMDE
At a terminal:
what happens?
Code: Select all
sudo su -
mysql
Re: MySQL root password for LMDE
MySQL is upstream, and installing mysql-server from mintmenu immediately produces a password prompt:
http://twitpic.com/4af9pu
Your syntax:
does not provide a password for the root user, so the 'password newpassword' command does not execute. Use -p, followed by your password (no space!), or leave blank to be prompted.
To verify your credentials, just run the version command:
http://twitpic.com/4af9pu
Your syntax:
Code: Select all
/usr/bin/mysqladmin -u root password 'newpassword'
To verify your credentials, just run the version command:
Code: Select all
$ mysqladmin -u root -p version
Enter password:
mysqladmin Ver 8.42 Distrib 5.1.49, for debian-linux-gnu on i486
...
Re: MySQL root password for LMDE
this may jog your memory
Code: Select all
sudo apt-get install -y debconf-utils
sudo debconf-get-selections | grep mysql | grep password