Jump to content

Recommended Posts

Posted (edited)

IGNORE, figured it out a after a brew :D

 

 

 

Hi,

 

no expert, just following some online instructions. I've got a Ubuntu server that I've installed a LAMP server on using these instructions

 

sudo apt-get install lamp-server^ -y

 

I was expecting to have to setup a password for root but this didn't happen.

 

Used - mysql>SELECT user,authentication_string,plugin,host FROM mysql.user;

 

to ascertain that there was no password for root so I was going to set this via the command:

 

mysql>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

 

My problem is that after running the 'SELECT' command I get '> so no commands seem to work. How do I get out of this?

Edited by E_G_R2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...