Re: host.frm

2003-01-02 Thread LeVar Bery
You could probbly run the mysql_install_db  this might help.
There is something on the mysql.com site that says how to deal with this.
- Original Message -
From: Jason Steig [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 01, 2003 11:43 PM
Subject: host.frm




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

 does anyone know how to solve this problem?




 -
 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




Re: Mysql.Sock problem

2002-12-31 Thread LeVar Bery
I had this same problem... for 4 Days!

Check the permission on the /var/lib/mysql directory.
Check the logs /var/logs/mysql.log   to make sure its not crashing or not
connecting
Check the permissions on the /var/run/mysql it should have rwxr-xr-x mysql
mysql  (this was my problem)

I thought I was being cool by using:  chown ./*  to change the of all the
files in my /var/www directory.
I didn't realize I had change everything in ../ which changed ownership on
everyting in the /var structure
- Original Message -
From: A.T.Z. [EMAIL PROTECTED]
To: Jason Steig [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December 31, 2002 1:59 AM
Subject: RE: Mysql.Sock problem


 Is mysql running (ps -axu)

 if not:
 /path/to/safe_mysqld --user=mysql 

 This is explained in the docs

 -Oorspronkelijk bericht-
 Van: Jason Steig [mailto:[EMAIL PROTECTED]]
 Verzonden: dinsdag 31 december 2002 9:08
 Aan: [EMAIL PROTECTED]
 Onderwerp: Mysql.Sock problem




 I' am relatively new to MySQL and I 'am having a problem with starting
 the ./mysql program I always get the mysql.sock error.  I know this
 mysql.sock file is used when the local machine is the mysql server.
 Likewise I can't start mysql.server or mysqld.  I' am trying to start it
 as root.  I know this is not a good practice.  The first think I have to
 do is (./mysql -u (User) password).  This is what allows me to create a
 user to run mysqld? Correct?




 -
 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




Re: Fatal error

2002-12-29 Thread LeVar Bery
This means that the mod for mySQL is not installed.   On the CD there is a
package for PHP-MySQL.

install that and then restart.  Hope this helps.

- Original Message -
From: Pikasz Gyorgy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 29, 2002 1:11 PM
Subject: Fatal error


 Hi all!!!
 Red Hat 7.3, MySQL, PHP
 I tried to connect to MySQL server with my login name and password, with
the
 next command in my php's file:
   mysql_connect(localhost, webuser, webpass)
 In the mysql.user table exist webuser/webpass and in mysql.db table too
for
 an specified database.
 ...then appear the next error and I don't understand why:

 Fatal error: Call to undefined function: mysql_connect() in
 /var/www/html/vk/vk.php on line 11

 Thanks

 picas





 -
 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