This sounds like a stupid question, but I can't figure out the mysql password. As far as I know, by default there is no password. I have installed mysql from default repos, on Daryna KDE edition.
Any help will be much appreciated.




$ sudo mysql_install_db
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
$ sudo /usr/bin/mysqld_safe
mysqld_safe[16038]: A mysqld process already exists
$ mysqladmin -u root password 'newpass'
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
$ sudo mysqladmin -u root password 'newpass'
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
$ sudo su -
There will be big changes for you but you will be happy.
# mysqladmin -u root password 'newpass'
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)


Users browsing this forum: No registered users and 17 guests