installing mysql on ubuntu 18.04, what is root password
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I installed MySQL on ubunto 18.04 and it is asking me to root password, but I don't have it.
Mysql version is:
mysql Ver 14.14 Distrib 5.7.23, for Linux (x86_64) using EditLine wrapper
what I did is as follow:
- I followed instructions on this site to install MYSql : https://support.rackspace.com/how-to/installing-mysql-server-on-ubuntu/
When I try to run the shell, I am getting error 1698
m@m-XPS-M1530:~/Documents$ /usr/bin/mysql -u root -p
Enter password:
ERROR 1698 (28000): Access denied for user 'root'@'localhost'I tried blank password and also root password of the Ubuntu root without any success.
I followed the instruction on this site to rest the password without any success: https://coderwall.com/p/j9btlg/reset-the-mysql-5-7-root-password-in-ubuntu-16-04-lts
I uninstall and reinstalled it to make sure that I followed steps correctly, without any success. https://linuxscriptshub.com/uninstall-completely-remove-mysql-ubuntu-16-04/
Any idea how I can fix this problem?
I can uninstall and reinstall with a different instruction if required.
ubuntu password mysql
add a comment |Â
up vote
0
down vote
favorite
I installed MySQL on ubunto 18.04 and it is asking me to root password, but I don't have it.
Mysql version is:
mysql Ver 14.14 Distrib 5.7.23, for Linux (x86_64) using EditLine wrapper
what I did is as follow:
- I followed instructions on this site to install MYSql : https://support.rackspace.com/how-to/installing-mysql-server-on-ubuntu/
When I try to run the shell, I am getting error 1698
m@m-XPS-M1530:~/Documents$ /usr/bin/mysql -u root -p
Enter password:
ERROR 1698 (28000): Access denied for user 'root'@'localhost'I tried blank password and also root password of the Ubuntu root without any success.
I followed the instruction on this site to rest the password without any success: https://coderwall.com/p/j9btlg/reset-the-mysql-5-7-root-password-in-ubuntu-16-04-lts
I uninstall and reinstalled it to make sure that I followed steps correctly, without any success. https://linuxscriptshub.com/uninstall-completely-remove-mysql-ubuntu-16-04/
Any idea how I can fix this problem?
I can uninstall and reinstall with a different instruction if required.
ubuntu password mysql
What happens if you run the client without using the-p
option,mysql -u root
?
â Anthony Geoghegan
Sep 22 at 11:49
@AnthonyGeoghegan same error.
â user654019
Sep 22 at 11:58
Have you tied to type empty password? I had the same problem a few days ago. And it helped me. youtu.be/8RhO4qtIvOI
â ÃÂûÃÂàäÃÂÃÂÃÂð
Sep 22 at 20:14
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I installed MySQL on ubunto 18.04 and it is asking me to root password, but I don't have it.
Mysql version is:
mysql Ver 14.14 Distrib 5.7.23, for Linux (x86_64) using EditLine wrapper
what I did is as follow:
- I followed instructions on this site to install MYSql : https://support.rackspace.com/how-to/installing-mysql-server-on-ubuntu/
When I try to run the shell, I am getting error 1698
m@m-XPS-M1530:~/Documents$ /usr/bin/mysql -u root -p
Enter password:
ERROR 1698 (28000): Access denied for user 'root'@'localhost'I tried blank password and also root password of the Ubuntu root without any success.
I followed the instruction on this site to rest the password without any success: https://coderwall.com/p/j9btlg/reset-the-mysql-5-7-root-password-in-ubuntu-16-04-lts
I uninstall and reinstalled it to make sure that I followed steps correctly, without any success. https://linuxscriptshub.com/uninstall-completely-remove-mysql-ubuntu-16-04/
Any idea how I can fix this problem?
I can uninstall and reinstall with a different instruction if required.
ubuntu password mysql
I installed MySQL on ubunto 18.04 and it is asking me to root password, but I don't have it.
Mysql version is:
mysql Ver 14.14 Distrib 5.7.23, for Linux (x86_64) using EditLine wrapper
what I did is as follow:
- I followed instructions on this site to install MYSql : https://support.rackspace.com/how-to/installing-mysql-server-on-ubuntu/
When I try to run the shell, I am getting error 1698
m@m-XPS-M1530:~/Documents$ /usr/bin/mysql -u root -p
Enter password:
ERROR 1698 (28000): Access denied for user 'root'@'localhost'I tried blank password and also root password of the Ubuntu root without any success.
I followed the instruction on this site to rest the password without any success: https://coderwall.com/p/j9btlg/reset-the-mysql-5-7-root-password-in-ubuntu-16-04-lts
I uninstall and reinstalled it to make sure that I followed steps correctly, without any success. https://linuxscriptshub.com/uninstall-completely-remove-mysql-ubuntu-16-04/
Any idea how I can fix this problem?
I can uninstall and reinstall with a different instruction if required.
ubuntu password mysql
ubuntu password mysql
asked Sep 22 at 11:32
user654019
7472914
7472914
What happens if you run the client without using the-p
option,mysql -u root
?
â Anthony Geoghegan
Sep 22 at 11:49
@AnthonyGeoghegan same error.
â user654019
Sep 22 at 11:58
Have you tied to type empty password? I had the same problem a few days ago. And it helped me. youtu.be/8RhO4qtIvOI
â ÃÂûÃÂàäÃÂÃÂÃÂð
Sep 22 at 20:14
add a comment |Â
What happens if you run the client without using the-p
option,mysql -u root
?
â Anthony Geoghegan
Sep 22 at 11:49
@AnthonyGeoghegan same error.
â user654019
Sep 22 at 11:58
Have you tied to type empty password? I had the same problem a few days ago. And it helped me. youtu.be/8RhO4qtIvOI
â ÃÂûÃÂàäÃÂÃÂÃÂð
Sep 22 at 20:14
What happens if you run the client without using the
-p
option, mysql -u root
?â Anthony Geoghegan
Sep 22 at 11:49
What happens if you run the client without using the
-p
option, mysql -u root
?â Anthony Geoghegan
Sep 22 at 11:49
@AnthonyGeoghegan same error.
â user654019
Sep 22 at 11:58
@AnthonyGeoghegan same error.
â user654019
Sep 22 at 11:58
Have you tied to type empty password? I had the same problem a few days ago. And it helped me. youtu.be/8RhO4qtIvOI
â ÃÂûÃÂàäÃÂÃÂÃÂð
Sep 22 at 20:14
Have you tied to type empty password? I had the same problem a few days ago. And it helped me. youtu.be/8RhO4qtIvOI
â ÃÂûÃÂàäÃÂÃÂÃÂð
Sep 22 at 20:14
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f470697%2finstalling-mysql-on-ubuntu-18-04-what-is-root-password%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What happens if you run the client without using the
-p
option,mysql -u root
?â Anthony Geoghegan
Sep 22 at 11:49
@AnthonyGeoghegan same error.
â user654019
Sep 22 at 11:58
Have you tied to type empty password? I had the same problem a few days ago. And it helped me. youtu.be/8RhO4qtIvOI
â ÃÂûÃÂàäÃÂÃÂÃÂð
Sep 22 at 20:14