installing mysql on ubuntu 18.04, what is root password

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash 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:



  1. I followed instructions on this site to install MYSql : https://support.rackspace.com/how-to/installing-mysql-server-on-ubuntu/


  2. 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'


  3. I tried blank password and also root password of the Ubuntu root without any success.


  4. 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


  5. 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.










share|improve this question





















  • 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














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:



  1. I followed instructions on this site to install MYSql : https://support.rackspace.com/how-to/installing-mysql-server-on-ubuntu/


  2. 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'


  3. I tried blank password and also root password of the Ubuntu root without any success.


  4. 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


  5. 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.










share|improve this question





















  • 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












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:



  1. I followed instructions on this site to install MYSql : https://support.rackspace.com/how-to/installing-mysql-server-on-ubuntu/


  2. 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'


  3. I tried blank password and also root password of the Ubuntu root without any success.


  4. 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


  5. 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.










share|improve this question













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:



  1. I followed instructions on this site to install MYSql : https://support.rackspace.com/how-to/installing-mysql-server-on-ubuntu/


  2. 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'


  3. I tried blank password and also root password of the Ubuntu root without any success.


  4. 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


  5. 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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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
















  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































MbFZt6PPcnCuivfaB9O qHFp,vSXnx
VY2UYGVe,V6kj5,O 7UVteipIC5TWRee,2HiOvm,Z8fqMAsm2c KUmjcZmSqUQ Ks4qCaCVsM03PnB53vCCGfML6,O

Popular posts from this blog

How to check contact read email or not when send email to Individual?

How many registers does an x86_64 CPU actually have?

Displaying single band from multi-band raster using QGIS