FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » cant use mysql_connect
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: cant use mysql_connect [message #179446 is a reply to message #179445] Mon, 29 October 2012 06:34 Go to previous messageGo to previous message
J.O. Aho is currently offline  J.O. Aho
Messages: 194
Registered: September 2010
Karma:
Senior Member
#
Path: textnews.cambrium.nl!feeder2.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.1 30.MISMATCH!xlned.com!feeder1.xlned.com!news.osn.de!diablo2.news.osn.de!fu- berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "J.O. Aho" <user(at)example(dot)net>
Newsgroups: comp.lang.php
Subject: Re: cant use mysql_connect
Date: Mon, 29 Oct 2012 07:34:00 +0100
Lines: 41
Message-ID: <af6maoFlumU1(at)mid(dot)individual(dot)net>
References: <k6jmij$jt1$1(at)dont-email(dot)me> <af55o8FkjmpU1(at)mid(dot)individual(dot)net> <1944408(dot)oD1fHKOdpR(at)PointedEars(dot)de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 27yTMBMO81J99RRMDZZkkg/JYCKalyRnH1PCcYLgMazFBMn3VeTzhCPGM+EgA9Zu5f
Cancel-Lock: sha1:LrjpsjdOvZbvNKXH9am5u2zgxTI=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121021 Firefox/16.0 SeaMonkey/2.13.1
In-Reply-To: <1944408(dot)oD1fHKOdpR(at)PointedEars(dot)de>
Xref: textnews.cambrium.nl comp.lang.php:138932

Thomas 'PointedEars' Lahn wrote:
> J.O. Aho wrote:
>
>> Markus Grob wrote:
>>> I have changed to Apache 2.4 with PHP 5.4 and MySQL 5.5. MySQL is running
>>> and all databases were imported from the earlier version.
>>> Apache is running and php_info gives me the hint, that mysqlnd was found:
>>>
>>> PHP Version 5.4.4
>>> System Windows NT KRWM0023 6.1 build 7601 (Windows 7 Enterprise
>>> Edition Service Pack 1) i586
>>> mysqlnd enabled
>>>
>>> But if I now try to connect to the database, pypmyadmin tells me, that
>>> mysql can't be found: Cannot load mysql extension.
>>
>> phpmyadmin uses the mysql extension, not the mysqlnd, so you need to find
>> a compiled mysql extension for your version of PHP (usually a lot easier
>> if you use Linux/BSD as your server OS, for then you generally get
>> everything you need at once and less risk for backdoors in modules).
>
> Utter nonsense. phpMyAdmin is fully capable of using the much safer mysqli
> extension, which is used by the mysqlnd extension:

I stand corrected in this matter (haven't used phpmyadmin for years and back
then it didn't support mysqli and it was prone to a lot of security issues,
which it is still), and it's quite unnecessary to make accusations against a
person, no matter how subtitle it is.

But still, the OP will need to install the mysql extension

>>> My one site tells me the same:
>>> Fatal error: Call to undefined function mysql_error() in...

Even if he gets his phpmyadmin to work, his site will not.
Of course he can rewrite it, but I guess he rather gets it up and running now
and not next year.

--

//Aho
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: skipping question "Do you want to save or open the file"
Next Topic: PDO_SQLITE == sqlite3 ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 06:58:28 GMT 2024

Total time taken to generate the page: 0.05305 seconds