View Single Post

   
  #3 (permalink)  
Old 02-28-2008, 07:05 AM
satimis
 
Posts: n/a
Default Re: Problem on creating root password


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'.
[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
--
View this message in context: http://www.nabble.com/Problem-on-cre....html#a9712041
Sent from the MySQL - General mailing list archive at Nabble.com.

Reply With Quote