|
Posted by Jerry Stuckle on 11/05/07 04:05
farhan wrote:
>> But can you do it from a command line on your web server? That is, are
>> you running your web server on your local machine, or is it on another
>> one? And if it is another server, can you connect to the MySQL database
>> from the command line there?
>
> I don't know how to use the command line of the web server - just via
> the browser. Yes, the web server is running on my local machine. When
> I say command line, I mean the mysql executable which I believe is a
> different binary to the one the web server uses. Connecting from the
> web server on which the MySQL server is running poses no problems.
>
>> IOW you could still have mixed file versions - some from 4.x and some
>> from 5.1. That doesn't sound good.
>
> Yes, this is possible, but I don't know what other associated files
> there are besides the ones in /lib and /usr/bin.
>
>> What happens if you try to connect with an invalid userid/password
>> and/or to an invalid system?
>
> If the syntax is wrong, then I get a parser error in the apache logs.
> When using wrong parameters, then the result is the same as my
> original.
>
> -Farhan
>
>
When I asked if you could run the command line version from your web
server, I meant the machine your web server is running on - in this case
your localhost. Just trying to ensure you can access the server properly.
But if you get a problem with a double free or similar error during
runtime, it really looks like you've got multiple copies of MySQL on
your system.
And I don't know which Linux you have or how MySQL was originally
installed, so I'd have no idea where else you might have some MySQL
files. But this is the wrong newsgroup for that end, anyway - you need
comp.databases.mysql to follow up on the MySQL end.
And I think right now that's what it seems you need. I don't see any
PHP problem here right now, at least. But lots of possibilities for
MySQL problems.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|