*Someone could help me? I think that the problem is related with some
configuration PATH or some configuration of permissions. But, I just
think... Below, I put the delaited description of the problem:**
*
 - I downloaded the binary file "Standard 5.0.19" of "Linux (non RPM
package)"
 - Later, I executed the following commands (such as suggested in the
documentation - http://dev.mysql.com/doc/refman/5.0/en/installing-binary.html):

shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
[EMAIL PROTECTED] mysql]# scripts/mysql_install_db –user=mysql
[EMAIL PROTECTED] mysql]# scripts/mysql_install_db --user=mysql
Installing all prepared tables
Fill help tables

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 !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h panthro.THUNDERA password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the ./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 . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the ./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

[EMAIL PROTECTED] mysql]# chown -R root  .
[EMAIL PROTECTED] mysql]# chown -R mysql data
[EMAIL PROTECTED] mysql]# chgrp -R mysql .
[EMAIL PROTECTED] mysql]# bin/mysqld_safe --user=mysql &
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
060321 12:10:28  mysqld ended

[the pc was processing during some minutes, but I didn't got reply... So, I
press <ENTER>]
[1]+  Done                    bin/mysqld_safe –user=mysql
[EMAIL PROTECTED] mysql]#

The message created in log file is:
060321 12:12:21  mysqld started
060321 12:12:22  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
060321 12:12:22  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 36808.
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
060321 12:12:22  InnoDB: Starting an apply batch of log records to the
database...
InnoDB: Progress in percents: 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
060321 12:12:22  InnoDB: Started; log sequence number 0 43655
060321 12:12:22 [ERROR] /usr/local/mysql/bin/mysqld: Can't create/write to file
'/var/run/mysqld/mysqld.pid' (Errcode: 13)
060321 12:12:22 [ERROR] Can't start server: can't create PID file: Permission
denied
060321 12:12:22  mysqld ended

**

Reply via email to