hmmmm. Well, I have a mysql directory and test directory in both of the
directories below. Why would it have created those in two places? (Sorry for
stupid questions here -- first-time install of MySQL and have been banging
my head on this stuff for several days now...)

Only the /usr/local/mysql/var/mysql directory contains host.frm, however.

/var/lib/mysql/mysql is empty.

Is the latter, instead of the former, where it is looking for host.frm, and
therefore giving me:

Can't find file: './mysql/host.frm' (errno: 13)

and then mysql ended?




-----Original Message-----
From: Gustavo A. Baratto [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 6:53 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: mysql.sock??


Hi Mike.

Check if you data directory is in: /usr/local/mysql/var as specified in your
startup script, or in: /var/lib/mysql

On redhat using the binary distribution, the data dir is in /var/lib/mysql
--------------------------




On December 19, 2001 06:19 pm, Mike Blain wrote:
> I keep trying to start it and get this:
>
> [root@linuxdev1 mysql-3.23.46]#
> /usr/local/mysql/bin/safe_mysqld --user=mysql &
> [1] 1822
> [root@linuxdev1 mysql-3.23.46]# Starting mysqld daemon with databases from
> /usr/local/mysql/var
> 011219 18:21:40  mysqld ended
>
> It stats and immediately stops. Been combing forums and install
> instructions for info on this and haven't had much luck.
>
> keep trying this to no avail as well:
>
> [root@linuxdev1 mysql-3.23.46]# /etc/init.d/mysqld start
> bash: /etc/init.d/mysqld: No such file or directory
>
>
>
> -----Original Message-----
> From: Quentin Bennett [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 19, 2001 5:44 PM
> To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
> Subject: RE: mysql.sock??
>
>
> Hi,
>
> mysqld will create it when it runs - have you started the server?
>
> Quentin
>
> -----Original Message-----
> From: Mike Blain [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 20 December 2001 2:07 p.m.
> To: [EMAIL PROTECTED]
> Subject: mysql.sock??
>
>
>
> I just recently installed MySQL from source. Trying to set the root
> password and keep getting this error:
>
> /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (111)'
> Check that mysqld is running and that the socket: '/tmp/mysql.sock'
exists!
>
> How do I create mysql.sock?
>
> Thanks,
> Mike
>
>
> ---------------------------------------------------------------------
> 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
>
> The information contained in this email is privileged and confidential
> and intended for the addressee only. If you are not the intended
> recipient, you are asked to respect that confidentiality and not
> disclose, copy or make use of its contents. If received in error
> you are asked to destroy this email and contact the sender immediately.
> Your assistance is appreciated.
>
> ---------------------------------------------------------------------
> 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


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