Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #7384

Re: cant use mysql_connect

Message-ID <2044603.uqJOsAjgBC@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2012-10-29 14:23 +0100
Subject Re: cant use mysql_connect
Newsgroups comp.lang.php
References <k6jmij$jt1$1@dont-email.me> <af55o8FkjmpU1@mid.individual.net> <1944408.oD1fHKOdpR@PointedEars.de> <af6maoFlumU1@mid.individual.net>
Followup-To comp.lang.php

Followups directed to: comp.lang.php

Show all headers | View raw


J.O. Aho wrote:

> Thomas 'PointedEars' Lahn wrote:
>> J.O. Aho wrote:
>>> 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.

phpMyAdmin has supported mysqli ever since mysqli came about (PHP 5.0, 
2004).  (That was *8 years* ago.)

<https://github.com/phpmyadmin/history/blob/master/ChangeLogs/ChangeLog-2004>
<http://www.php.net/manual/en/mysqli.overview.php>

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

No, they will not, and they should not.  It is deprecated for a reason.
 
>  >>> 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.

FUD.  Go away, and take your address-munged nonsense with you.


PointedEars
-- 
Sometimes, what you learn is wrong. If those wrong ideas are close to the 
root of the knowledge tree you build on a particular subject, pruning the 
bad branches can sometimes cause the whole tree to collapse.
  -- Mike Duffy in cljs, <news:Xns9FB6521286DB8invalidcom@94.75.214.39>

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

cant use mysql_connect Markus Grob <snoopy@ilnet.ch> - 2012-10-28 17:30 +0100
  Re: cant use mysql_connect "J.O. Aho" <user@example.net> - 2012-10-28 17:44 +0100
    Re: cant use mysql_connect Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-29 04:16 +0100
      Re: cant use mysql_connect "J.O. Aho" <user@example.net> - 2012-10-29 07:34 +0100
        Re: cant use mysql_connect Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-29 14:23 +0100
      Re: cant use mysql_connect The Natural Philosopher <tnp@invalid.invalid> - 2012-10-29 11:24 +0000
  Re: cant use mysql_connect Luuk <luuk@invalid.lan> - 2012-10-28 17:51 +0100
  Re: cant use mysql_connect Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-28 20:21 +0100
  Re: cant use mysql_connect "J.O. Aho" <user@example.net> - 2012-10-29 07:39 +0100
  Re: cant use mysql_connect Markus Grob <snoopy@ilnet.ch> - 2012-10-30 22:58 +0100
    Re: cant use mysql_connect Jerry Stuckle <jstucklex@attglobal.net> - 2012-10-30 19:18 -0400
    Re: cant use mysql_connect "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-10-31 10:07 +0100
      Re: cant use mysql_connect "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-10-31 10:15 +0100
    Re: cant use mysql_connect Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-11-01 00:56 +0100

csiph-web