MySQLd Password

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sun Feb 1 22:08:23 UTC 2004


Am So, den 01.02.2004 schrieb Nicholas Evans um 22:40:
> Hello 
>    
>     I installed a mySQLd from the Fedora disc last night, and got it 
> running. I did the mysql_install_db to set up the user table and stuff, 
> and when I went to set a password for it it says...
> 
> mysqladmin: unable to change password; error: 'Table 'user' is read only'
> 
> I've tried running it as owlmanatt (user account), root, and mysql, but 
> it refuses to work. Could it be a chmod problem? I can't find where 
> mySQL keeps it's database files, so I don't know where to go to fix it. 
> I've been looking on google and trying to make it work since last night, 
> but I can't get it.
> 
> Any pointers would be much appreciated!
> 
> (And yes, servers don't seem to like me today.)
> 
> Thanks!
> Nicholas Evans

It would have been enough to run /etc/init.d/mysqld start to run the
initial process for creating the base mysql database. Now after manual
run of mysql_install_db you have to run manually "chown -R mysql.mysql
/var/lib/mysql".

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2149.nptl
Sirendipity 23:06:33 up 1 day, 22:06, load average: 0.53, 0.30, 0.19 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040201/f33676b5/attachment-0001.sig>


More information about the fedora-list mailing list