Re: Problem on creating root password

2007-03-29 Thread satimis
. I'm tuning it. Stephen Liu -- View this message in context: http://www.nabble.com/Problem-on-creating-root-password-tf3479106.html#a9728432 Sent from the MySQL - General mailing list archive at Nabble.com. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: Problem on creating root password

2007-03-29 Thread Stephen Liu
--- Chris [EMAIL PROTECTED] wrote: Retried as follows; [EMAIL PROTECTED] ~]# mysqladmin -u root --password mypassword Enter password: Typing either mypassword or YES prompted; mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user

Re: Problem on creating root password

2007-03-29 Thread Chris
satimis wrote: Typing either mypassword or YES prompted; mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: YES)' * end * That is asking for your *old* password. [/quote] I did not create password before. This is a new

Re: Problem on creating root password

2007-03-29 Thread Stephen Liu
--- Chris [EMAIL PROTECTED] wrote: - snip - Try this: mysqladmin -u root password xyz That will change your password to 'xyz'. Before received this email I tried; [EMAIL PROTECTED] ~]# mysqladmin -u root -p mysqladmin Ver 8.41 Distrib 4.1.20, for redhat-linux-gnu on x86_64 Copyright

Re: Problem on creating root password

2007-03-29 Thread Chris
[EMAIL PROTECTED] ~]# mysqladmin -u root password xyz mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' * end * So you *have* set the root password before. From your previous emails: # mysqladmin -u root password

Re: Problem on creating root password

2007-03-29 Thread Maciej Dobrzanski
In news:[EMAIL PROTECTED], satimis [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] ~]# /etc/init.d/mysqld restart Stopping MySQL: [FAILED] Starting MySQL:[ OK ] Ok, lets try it a different way, using only the

Re: Problem on creating root password

2007-03-29 Thread Stephen Liu
--- Chris [EMAIL PROTECTED] wrote: - snip - So you *have* set the root password before. From your previous emails: # mysqladmin -u root password yourrootsqlpassword That set the password to yourrootsqlpassword. If you need to reset it, see documentation:

Re: Problem on creating root password

2007-03-29 Thread Duncan Hill
On Thursday 29 March 2007 11:38:21 Stephen Liu wrote: http://dev.mysql.com/doc/refman/4.1/en/resetting-permissions.html I tried learning resetting the password according to above URL. I can't find set command on this box. I don't know which package provides it so finally I surrendered.

Problem on creating root password

2007-03-28 Thread satimis
`cat /mysql-data-directory/host_name.pid` mysqld_safe –skip-grant-tables mysqladmin -u root flush-privileges password “newpassword” OR is there any other way to fix this problem. TIA B.R. satimis -- View this message in context: http://www.nabble.com/Problem-on-creating-root-password

Re: Problem on creating root password

2007-03-28 Thread Maciej Dobrzanski
In news:[EMAIL PROTECTED], satimis [EMAIL PROTECTED] wrote: Pls advise how to locate mysql=E2=80=99s hostname.pid file? 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

Re: Problem on creating root password

2007-03-28 Thread satimis
this message in context: http://www.nabble.com/Problem-on-creating-root-password-tf3479106.html#a9712041 Sent from the MySQL - General mailing list archive at Nabble.com. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL

Re: Problem on creating root password

2007-03-28 Thread Maciej Dobrzanski
In news:[EMAIL PROTECTED], satimis [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] /]# mysqld_safe =E2=80=93skip-grant-tables [1] 5119 [EMAIL PROTECTED] /]# Starting mysqld daemon with databases from /var/lib/mysql STOPPING server from pid file /var/run/mysqld/mysqld.pid 070328 19:39:12 mysqld

Re: Problem on creating root password

2007-03-28 Thread satimis
.log.old * end * Read /var/log/mysql.log Can't find anything related. satimis -- View this message in context: http://www.nabble.com/Problem-on-creating-root-password-tf3479106.html#a9713069 Sent from the MySQL - General mailing list archive at Nabble.com. -- MySQL General Mailing List

Re: Problem on creating root password

2007-03-28 Thread Maciej Dobrzanski
In news:[EMAIL PROTECTED], satimis [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] /]# mysqld_safe =E2=80=93skip-grant-tables [1] 5119 [EMAIL PROTECTED] /]# Starting mysqld daemon with databases from /var/lib/mysql STOPPING server from pid file /var/run/mysqld/mysqld.pid 070328 19:39:12 mysqld

Re: Problem on creating root password

2007-03-28 Thread satimis
34 070328 23:56:09 [Note] /usr/libexec/mysqld: Shutdown complete 070328 23:56:09 mysqld ended * end * satimis -- View this message in context: http://www.nabble.com/Problem-on-creating-root-password-tf3479106.html#a9717062 Sent from the MySQL - General mailing list archive at Nabble.com

Re: Problem on creating root password

2007-03-28 Thread satimis
; mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: YES)' * end * Still failed satimis -- View this message in context: http://www.nabble.com/Problem-on-creating-root-password-tf3479106.html#a9726511 Sent from the MySQL - General

Re: Problem on creating root password

2007-03-28 Thread Chris
Retried as follows; [EMAIL PROTECTED] ~]# mysqladmin -u root --password mypassword Enter password: Typing either mypassword or YES prompted; mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: YES)' * end * That is asking