Since you say you're new to this stuff, let's start with the very basics.
RH7.0, I thought, was done poorly with many bugs. You can download their
latest RPM patches from their ftp server which will fix up a lot of these
bugs. With MySQL, my advice is to download the latest and greatest RPM
directly from their website, not RH's. If you're not going to bother
upgrading PHP then don't bother using persistent connections.
The next step, once installed/upgraded, check that the server is working ok.
Use ps -ef | grep mysql to find out.
----- Original Message -----
From: "Tim Czerlinsky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 15, 2001 6:39
Subject: MySql connection failed in browser
> Hey everyone,
>
> I just went through a new setup of Information Resource Manager
scripts
> under PHP 4.0.1p12-9 that work with MySql 3.23.22-6 under Apache
1.3.125-25,
> all of this stuff except the Resource Manager come standard with RedHat
7.0.
> After creating the database for the set of php scripts, I should be able
to
> go right into my web browser and get to the scripts and see all the
default
> screens. I can get to the login screen, but when entering a username and
> password I get the following:
>
> Warning: MySQL Connection Failed: Can't connect to local MySQL server
> through socket '/var/lib/mysql/mysql.sock' (111) in ./irm.inc on line 83
>
> Warning: MySQL Connection Failed: Can't connect to local MySQL server
> through socket '/var/lib/mysql/mysql.sock' (111) in ./irm.inc on line 84
>
> Warning: MySQL: A link to the server could not be established in ./irm.inc
> on line 84
>
> It just looks like there may be a problem with the php scripts and the
link
> to the mysql database, I've been through all of the config files I could
> find and have been searching the internet for some type of answer. I'm
new
> to the mysql and php world, so it's all a struggle right now. Anyone have
> any ideas? (I'm sure it's a pretty simple fix)
>
>
>
> Thanks,
>
>
>
> Tim Czerlinsky
> Customer Support
> [EMAIL PROTECTED]
> ___________________________
> TechWorks
> 4030 West Braker Lane, Suite 350
> Austin, Texas 78759-5319 USA
> 800-688-7466
> ___________________________
> http://www.techworks.com <http://www.techworks.com/>
> 512-794-8558 FAX
> Customer Support is available Mon.- Fri. 9:00 AM to 5:30 PM CST
> 800-933-6113
>
>
>
---------------------------------------------------------------------
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