syntaxError: unexpected identifier in shell mysqladmin -u
Posted by:
Dimi Tree
Date: September 29, 2017 08:16AM
I am trying to connect libreoffice base to a mysql database, but libreoffice requires a password and i have set up a root account with no password.
So I am trying to put a password on the root account.
These are the instructions i have for changing password: To set up a root password for the first time, use the mysqladmin command at the shell prompt as follows:
$ mysqladmin -u root password newpass
but when I try
mysql-js> mysqladmin -u root test
I get this error:
syntaxerror: unexpected identifier
when I try
mysql-js> $ mysqladmin -u root test
I get the same error:
syntaxerror: unexpected identifier
when i try
mysql-js> mysqladmin
i get this error:
referenceerror: mysqladmin is not defined
does somebody have an idea what could be wrong here?
Subject
Written By
Posted
syntaxError: unexpected identifier in shell mysqladmin -u
September 29, 2017 08:16AM
September 29, 2017 09:19AM
September 29, 2017 10:15AM
September 29, 2017 10:30AM
September 29, 2017 11:13AM
September 29, 2017 12:12PM
September 29, 2017 10:30AM
September 29, 2017 05:42PM
November 14, 2017 03:13PM
November 14, 2017 03:17PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.