On Fri, 2002-09-27 at 19:27, DeNewbie wrote:
> 
> I am new to this newsgroup and I am a SUSE Linux 7.3 user. I want to learn how to 
>use PHP and MySQL and I am reading the MySQL reference manual. Firstly I am trying to 
>install these RPM files.
> 
>  MySQL-3.23.52-1.i386.rpm
>  MySQL-client-3.23.52-1.i386.rpm
>  MySQL-devel-3.23.52-1.i386.rpm
> 
> They all installed successfully;
> 
> Then from  /usr/local I ran mysql_install_db and I got this;
> 
> 
> 
> cords-orj86jfje:/usr/local # mysql_install_db
> Installing all prepared tables
> 020927 18:06:15  /usr/sbin/mysqld: Shutdown Complete
> 
> 
> 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 !
> This is done with:
> /usr/bin/mysqladmin -u root  password 'new-password'
> /usr/bin/mysqladmin -u root -h cords-orj86jfje  password 'new-password'
> See the manual for more instructions.
> 
> NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
> the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
> able to use the new GRANT command!
> 
> You can start the MySQL daemon with:
> cd / ; /usr/bin/safe_mysqld &
> 
> You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
> cd sql-bench ; run-all-tests
> 
> 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 https://order.mysql.com
> 
> 
> 
> 
> Now at this point what do I do ??
> 
> I put in my passwords successfully but when I entered the 
> "safe_mysqld &" I got this;
> 
> 
> 
> 
> mike@cords-orj86jfje:/usr/bin> safe_mysqld &
> [1] 1759
> mike@cords-orj86jfje:/usr/bin> cat: /var/lib/mysql/cords-orj86jfje.pid: Permission 
>denied
> rm: cannot unlink `/var/lib/mysql/cords-orj86jfje.pid': Permission denied
> Fatal error: Can't remove the pid file: /var/lib/mysql/cords-orj86jfje.pid
> /usr/bin/safe_mysqld: /var/lib/mysql/cords-orj86jfje.err: Permission denied
> Please remove it manually and start /usr/bin/safe_mysqld again
> mysqld daemon not started

>From the sounds of it you must remove those files as root since mysql is
the owner of them.

John Coder


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to