Newbie Linux 7 installation question

Newbie Linux 7 installation question

Post by Rolf Hopkin » Sat, 21 Apr 2001 10:57:46



More like it has already started.  Do "ps -ef | grep mysql" to find out.
----- Original Message -----



Sent: Friday, April 20, 2001 0:21
Subject: Re: Newbie Linux 7 installation question

> chown -R mysql /var/mysql


> > When I run safe_mysqld, it starts and ends immediatly. In the mysqld.log
in
> > /var/log it has the following:

> > 010418 21:19:47  mysqld started
> > 010418 21:19:47  /usr/libexec/mysqld: Can't find file:
'./mysql/host.frm'
> > (errno: 13)
> > 010418 21:19:47  mysqld ended

> > Below is the my.cnf file

> > [mysqld]
> > datadir=/var/lib/mysql
> > socket=/var/lib/mysql/mysql.sock

> > [mysql.server]
> > user=mysql
> > basedir=/var/lib

> > [safe_mysqld]
> > err-log=/var/log/mysqld.log
> > pid-file=/var/run/mysqld/mysqld.pid

> > I ran mysql_install_db and it created database files in
> > /var/lib/mysql/mysql. The file host.frm does exist in that directory. I
> > tried copying those files /var/lib/mysql but it made no difference. I
have
> > no ethernet card in the machine and therefore it would be running as
> > localhost.

> > Any ideas???

> > Thanks,

> > Steve

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


> To unsubscribe, e-mail

> 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)



Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

 
 
 

Newbie Linux 7 installation question

Post by Gerald Cla » Sat, 21 Apr 2001 23:09:00


No, it can't find the file because the mysql database directory is owned
by root.


> More like it has already started.  Do "ps -ef | grep mysql" to find out.

> ----- Original Message -----



> Sent: Friday, April 20, 2001 0:21
> Subject: Re: Newbie Linux 7 installation question

> > chown -R mysql /var/mysql


> > > When I run safe_mysqld, it starts and ends immediatly. In the mysqld.log
> in
> > > /var/log it has the following:

> > > 010418 21:19:47  mysqld started
> > > 010418 21:19:47  /usr/libexec/mysqld: Can't find file:
> './mysql/host.frm'
> > > (errno: 13)
> > > 010418 21:19:47  mysqld ended

> > > Below is the my.cnf file

> > > [mysqld]
> > > datadir=/var/lib/mysql
> > > socket=/var/lib/mysql/mysql.sock

> > > [mysql.server]
> > > user=mysql
> > > basedir=/var/lib

> > > [safe_mysqld]
> > > err-log=/var/log/mysqld.log
> > > pid-file=/var/run/mysqld/mysqld.pid

> > > I ran mysql_install_db and it created database files in
> > > /var/lib/mysql/mysql. The file host.frm does exist in that directory. I
> > > tried copying those files /var/lib/mysql but it made no difference. I
> have
> > > no ethernet card in the machine and therefore it would be running as
> > > localhost.

> > > Any ideas???

> > > Thanks,

> > > Steve

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


> > To unsubscribe, e-mail

> > 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)



Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

 
 
 

Newbie Linux 7 installation question

Post by Steve Tuckn » Sat, 21 Apr 2001 23:30:33


Gerald's recommendation worked peachily
-----Original Message-----

Sent: Friday, April 20, 2001 8:31 AM
To: Rolf Hopkins


Subject: Re: Newbie Linux 7 installation question

No, it can't find the file because the mysql database directory is owned
by root.


> More like it has already started.  Do "ps -ef | grep mysql" to find out.

> ----- Original Message -----



> Sent: Friday, April 20, 2001 0:21
> Subject: Re: Newbie Linux 7 installation question

> > chown -R mysql /var/mysql


> > > When I run safe_mysqld, it starts and ends immediatly. In the
mysqld.log
> in
> > > /var/log it has the following:

> > > 010418 21:19:47  mysqld started
> > > 010418 21:19:47  /usr/libexec/mysqld: Can't find file:
> './mysql/host.frm'
> > > (errno: 13)
> > > 010418 21:19:47  mysqld ended

> > > Below is the my.cnf file

> > > [mysqld]
> > > datadir=/var/lib/mysql
> > > socket=/var/lib/mysql/mysql.sock

> > > [mysql.server]
> > > user=mysql
> > > basedir=/var/lib

> > > [safe_mysqld]
> > > err-log=/var/log/mysqld.log
> > > pid-file=/var/run/mysqld/mysqld.pid

> > > I ran mysql_install_db and it created database files in
> > > /var/lib/mysql/mysql. The file host.frm does exist in that directory.
I
> > > tried copying those files /var/lib/mysql but it made no difference. I
> have
> > > no ethernet card in the machine and therefore it would be running as
> > > localhost.

> > > Any ideas???

> > > Thanks,

> > > Steve

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


> > To unsubscribe, e-mail

> > 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)



Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

 
 
 

1. Newbie Linux 7 installation question

When I run safe_mysqld, it starts and ends immediatly. In the mysqld.log in
/var/log it has the following:

010418 21:19:47  mysqld started
010418 21:19:47  /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
(errno: 13)
010418 21:19:47  mysqld ended

Below is the my.cnf file

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

[mysql.server]
user=mysql
basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

I ran mysql_install_db and it created database files in
/var/lib/mysql/mysql. The file host.frm does exist in that directory. I
tried copying those files /var/lib/mysql but it made no difference. I have
no ethernet card in the machine and therefore it would be running as
localhost.

Any ideas???

Thanks,

Steve

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



Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

2. WANTED: Mach for the Alphas

3. Newbie installation problems with Apache/MySQL/PHP under Linux

4. Meta Tags for Every Page?

5. newbie installation question

6. MultiTech Systems MT2834ZDXI always hangs up on netcomm rack

7. newbie installation question - part II

8. Fortran Compilers

9. MySQL newbie installation question

10. Newbie Win 2000 Installation and User Config Question

11. Newbie Question: Cannot find pg_config in Debian (lenny) installation

12. newbie installation question

13. Newbie Installation Question