Re: PHP Fatal erro: Uncaught Error: Call to undefined function mysql_connect() RESOLVED.
31 Dec
2022
31 Dec
'22
02:55
On 12/30/22 04:24, Philip van der Matten wrote:
hello Boyd,
extension=mysqlnd extension=mysqli extension=pdo_mysql
Uncommenting this fixed it for me, upgrading openSUSE Pi4 from 15.3 to 15.4 Thanks!
Good deal, That makes sense. The old "mysql" extension was deprecated long ago moving to "mysqli" and more predominantly "pdo_mysql" now. I am not familiar with "mysqlnd". All extensions provide the same functionality as far as providing access to your databases -- they just do it differently. I've used mysqli and pdo_mysql and between the two have found mysqli closer to the old mysql, but also found I prefer the pdo_mysql interface a bit more. It's dead-bang simple after you make friends with it. -- David C. Rankin, J.D.,P.E.
716
Age (days ago)
716
Last active (days ago)
0 comments
1 participants
participants (1)
-
David C. Rankin