which db connection

Problems with the Windows version of XAMPP, questions, comments, and anything related.

which db connection

Postby bbuio » 14. September 2018 15:51

I've just installed 7.2.9 version but my old project dont works: neither mysql_connect neither pdo..
why?
bbuio
 
Posts: 1
Joined: 14. September 2018 15:49
XAMPP version: 7.2.9
Operating System: win 7

Re: which db connection

Postby Nobbie » 15. September 2018 10:51

From http://php.net/manual/en/function.mysql-connect.php

Warning


This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:

mysqli_connect()
PDO::__construct()


I case of PDO, youre information is not sufficient for a fix. What exactly is going wrong?
Nobbie
 
Posts: 10546
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 61 guests