« Return to Thread: Problem on creating root password

Re: Problem on creating root password

by satimis :: Rate this Message:

Reply to Author | View in Thread

Hi Maciej Dobrzanski,

This is a new installation.  I'm now tuning MySQL.

[quote]
Try looking in standard directories such as:

/var/run/mysqld or /var/run/mysql or /var/run
The filename can be in form of 'hostname.pid', but it will rather be named
'mysqld.pid'.
[/quote]

[root@server /]# ls /var/run/mysqld/
mysqld.pid

I got it.


Re running
kill `cat /var/run/mysqld/mysqld.pid`
mysqld_safe –skip-grant-tables &
mysqladmin -u root flush-privileges password mysqlroopassword


I suppose they are 3 lines.


[root@server /]# kill `cat /var/run/mysqld/mysqld.pid`
(No complaint)


[root@server /]# mysqld_safe –skip-grant-tables &
[1] 5119
[root@server /]# Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
070328 19:39:12  mysqld ended

(It hung here)

Pls advise how to proceed.  TIA

B.R.
satimis

 « Return to Thread: Problem on creating root password