ucscGenomeBrowser / kent

UCSC Genome Browser source tree. Stable branch: "beta".
http://genome.ucsc.edu/
Other
217 stars 84 forks source link

browserSetup.sh generates invalid passwords #12

Closed serverhorror closed 6 years ago

serverhorror commented 6 years ago

Hello,

During an installation the following happened:

Processing triggers for ureadahead (0.100.0-19) ...
|
| The Mysql server was installed and therefore has an empty root password.
| Trying to set mysql root password to the randomly generated string "--m179X8"
mysqladmin: [ERROR] unknown option '--m179X8'
| Could not connect to mysql to set the root password to --m179X8.
| A root password must have been set by a previous installation.
| Please reset the root password to an empty password by following these
| instructions: http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
| Then restart the script.
| Or, if you remember the old root password, write it to a file /root/.my.cnf,
| create three lines
| [client]
| user=root
| password=PASSWORD
| run chmod 600 /root/.my.cnf and restart this script.
ubuntu@ip-10-4-72-51:~$ mysql -u root
ERROR 1698 (28000): Access denied for user 'root'@'localhost'
christopherLee1 commented 6 years ago

Many thanks for the report Martin, this should be fixed now.