[PHP-DB] Re: MySQL Error 1251 / phpMyAdmin

2005-02-07 Thread Michael Stassen
The short answer is, download the php source and add --with-mysql=/your/path/to/mysql to your build options. The long answer is in the directions in the php manual . Michael GH wrote: I am still new to the PHP scene could you tell me how I "rebuil

[PHP-DB] Re: MySQL Error 1251 / phpMyAdmin

2005-02-07 Thread GH
I am still new to the PHP scene could you tell me how I "rebuild" the PHP with the client library... On Mon, 07 Feb 2005 12:20:26 -0500, Michael Stassen <[EMAIL PROTECTED]> wrote: > > You have mysql 4.1.8, but your php was built with the library for an earlier > version, which, as the error mess

[PHP-DB] Re: MySQL Error 1251 / phpMyAdmin

2005-02-07 Thread Michael Stassen
You have mysql 4.1.8, but your php was built with the library for an earlier version, which, as the error message says, doesn't support the new, more secure authentication protocol. Your choices are to tell mysql to use the older, less-secure protocol, or build a copy of php using your current

[PHP-DB] Re: mysql error and resource ID:

2004-10-14 Thread Eric McGrane
A snippet of the source code would help. E "Stuart Felenstein" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > First time setting something like this up. So probably > making some major mistakes. > Anyway I get this message : "mysql_error(Resource id > #2)" > > I know it's pointing

[PHP-DB] Re: MySQL error message...

2003-06-30 Thread Shivanischal A
hi, mysql_query("$command",$mysqlHandle); should actually be mysql_query($command,$mysqlHandle); it works for me. i did not understand rest ur code. but i think should do it. try this and get back if still facing problems. regards, -shiva "Keith Spiller" <[EMAIL PROTECTED]> wrote in message

[PHP-DB] Re: MySQL Error

2001-07-10 Thread Johannes Janson
Hi, > Dear Experts > > When ever i try to run MySQL under linux it gives me following error > > ERROR 2002 : can't connect to local MYSQL server through socket '/var/lib/mysql.sock' (111) this is with PHP isn't it? can you log in the monitor and then type SHOW VARIABLES. A long list will be disp

[PHP-DB] Re: MySQL Error

2001-07-10 Thread Jonathan Hilgeman
Are you running as the admin setting it up or are you a user on the system getting the error? "Vivek Misra" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear Experts > > When ever i try to run MySQL under linux it gives me following error > > ERROR 2002 : ca