Go back to redhat.com and get the RPM that works,
Or search the mysql list archives.
This has been answered a hundred times ( No exageration. )
Charles L Hagen wrote:
>
> OK, here is the story.....
>
> I have a PII Linux RedHat 7.0 server. I installed the Mysql package that
> comes with it and also the dependent applications as specified.
>
> I try to start the mysqld and it gives me an OK and then I status it and
> it says....
>
> mysqld dead but subsys locked
>
> I am asking for two things....
>
> First, after the RPM installation what am I supposed to do?
>
> Second, how do I get it to run and build my first database?
>
> The error message log file is printed out below:
>
> 010302 14:05:32 mysqld started
> 010302 14:05:32 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 14:05:32 Do you already have another mysqld server running on
> port: 3306
> ?
> 010302 14:05:32 Aborting
>
> 010302 14:05:32 mysqld ended
>
> 010302 14:21:51 mysqld started
> 010302 14:21:51 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 14:21:51 Do you already have another mysqld server running on
> port: 3306
> ?
> 010302 14:21:51 Aborting
>
> 010302 14:21:51 mysqld ended
>
> 010302 14:25:39 mysqld started
> 010302 14:25:39 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 14:25:39 Do you already have another mysqld server running on
> port: 3306
> ?
> 010302 14:25:39 Aborting
> 010302 16:43:15 mysqld started
> 010302 16:43:15 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 16:43:15 Do you already have another mysqld server running on
> port: 3306
> ?
> 010302 16:43:15 Aborting
>
> 010302 16:43:15 mysqld ended
>
> 010302 16:43:26 mysqld started
> 010302 16:43:26 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 16:43:26 Do you already have another mysqld server running on
> port: 3306
> ?
> 010302 16:43:26 Aborting
>
> 010302 16:43:26 mysqld ended
>
> 010302 16:49:19 mysqld started
> 010302 16:49:19 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 16:49:19 Do you already have another mysqld server running on
> port: 3306?
> 010302 16:49:19 Aborting
> 010302 16:49:19 mysqld ended
>
> 010302 16:51:22 mysqld started
> 010302 16:51:22 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 16:51:22 Do you already have another mysqld server running on
> port: 3306
> ?
> 010302 16:51:22 Aborting
>
> 010302 16:51:22 mysqld ended
>
> 010302 16:59:38 mysqld started
> 010302 16:59:38 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 16:59:38 Do you already have another mysqld server running on
> port: 3306
> ?
> 010302 16:59:38 Aborting
>
> 010302 16:59:38 mysqld ended
>
> 010302 16:59:51 mysqld started
> 010302 16:59:51 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 16:59:51 Do you already have another mysqld server running on
> port: 3306
> ?
> 010302 16:59:51 mysqld ended
>
> 010302 17:00:06 mysqld started
> 010302 17:00:07 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 17:00:07 Do you already have another mysqld server running on
> port: 3306
> ?
> 010302 17:00:07 Aborting
>
> 010302 17:00:07 mysqld ended
>
> 010302 17:00:08 mysqld started
> 010302 17:00:08 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 17:00:08 Do you already have another mysqld server running on
> port: 3306
> ?
> 010302 17:00:08 Aborting
>
> 010302 17:00:08 mysqld ended
>
> 010302 17:00:47 mysqld started
> 010302 17:00:47 Can't start server: Bind on TCP/IP port: Address already
> in use
> 010302 17:00:47 Do you already have another mysqld server running on
> port: 3306?
> 010302 17:00:47 Aborting
>
> 010302 17:00:47 mysqld ended
>
> 010303 20:36:33 mysqld started
> 010303 20:36:34 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010303 20:36:34 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010303 20:36:34 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010303 20:36:34 mysqld ended
>
> 010303 20:36:41 mysqld started
> 010303 20:36:41 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010303 20:36:41 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010303 20:36:41 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010303 20:36:41 mysqld ended
>
> Fatal error: Can't change to run as user 'mysqld' ; Please check that the
> user
> exists!
> 010303 21:33:51 Aborting
>
> 010303 21:33:51 mysqld ended
>
> 010303 21:52:46 mysqld started
> 010303 21:52:46 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010303 21:52:46 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010303 21:52:46 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010303 21:52:46 mysqld ended
>
> 010303 21:59:54 mysqld started
> Warning: One can only use the --user switch if running as root
> 010303 21:59:54 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010303 21:59:54 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010303 21:59:54 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> 010303 21:59:54 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> 010303 21:59:55 mysqld ended
>
> 010303 22:00:13 mysqld started
> 010303 22:00:13 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010303 22:00:13 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010303 22:00:13 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010303 22:00:13 mysqld ended
>
> 010304 10:03:53 mysqld started
> 010304 10:03:54 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010304 10:03:54 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010304 10:03:54 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010304 10:03:54 mysqld ended
>
> 010304 10:25:06 mysqld started
> 010304 10:25:06 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
>
> 010304 10:25:06 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010304 10:25:06 mysqld ended
>
> 010304 10:28:50 mysqld started
> 010304 10:28:51 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010304 10:28:51 mysqld ended
>
> 010304 10:29:08 mysqld started
> 010304 10:29:08 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010304 10:29:08 mysqld ended
>
> 010304 10:37:59 mysqld started
> 010304 10:37:59 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010304 10:37:59 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010304 10:37:59 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
>
> 010304 10:37:59 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> 010304 10:37:59 mysqld ended
>
> 010304 10:38:10 mysqld started
> 010304 10:38:10 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010304 10:38:10 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010304 10:38:10 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010304 10:38:10 mysqld ended
>
> 010304 11:03:47 mysqld started
> 010304 11:03:47 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010304 11:03:47 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010304 11:03:47 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010304 11:03:47 mysqld ended
>
> 010304 11:23:23 mysqld started
> 010304 11:23:23 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
>
> 010304 11:23:23 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> 010304 11:23:23 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010304 11:23:23 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010304 11:23:23 mysqld ended
>
> 010304 19:03:15 mysqld started
> 010304 19:03:16 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010304 19:03:16 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010304 19:03:16 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010304 19:03:16 mysqld ended
>
> 010305 09:22:41 mysqld started
> 010305 9:22:42 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010305 9:22:42 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010305 9:22:42 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010305 09:39:28 mysqld started
> 010305 9:39:28 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010305 9:39:28 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010305 9:39:28 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010305 09:39:28 mysqld ended
>
> 010305 10:14:43 mysqld started
> 010305 10:14:43 /usr/libexec/mysqld: Can't create/write to file
> '/var/run/mysql
> d.pid' (Errcode: 13)
> 010305 10:14:43 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno
> : 13)
> 010305 10:14:43 /usr/libexec/mysqld: Error on delete of
> '/var/run/mysqld.pid' (
> Errcode: 2)
> 010305 10:14:43 mysqld ended
>
> That's about it. I tried doing the password change when I started but I
> could not.
>
> My server is "worker.hagenit.com"
>
> Be forgiving folks, Linux is new to me as is MySQL.
>
> Can you walk me through a MySQL install and initial setup?
>
> Sincerely,
>
> Charles Hagen
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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