Could someone help me with this error (Error triggered: mysql_connect () :), I explain: I have an old script, this contains a typical installation interface. Everything is fine until the final installation step where I get this error:
Error occurred during script startup, usually a result of inability to connect to the database:
Error triggered: mysql_connect (): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead.
This was probably caused by a software bug. If these occur often try to enable error-logging via config.php, and report errors to the official devs for help.
Could not successfully close connection to database.
The file is called config.php contains:
* This is the MySQL socket. It could be a network socket or a UNIX socket.
*
* eg '185.27.134.10:3306'
* or 'localhost'
* or 'myweb.myhost.com'
* or '/tmp/mysql.sock'
*
* @var string
*/
public static $database_socket='';
/**
* The user who will perform all database actions. You should
* tweak the user's permissions so they can only do the bare
* minimum they need to be able to do to update the webDiplomacy
* tables. Read the administrator documentation for more info.
*
* @var string
*/
public static $database_username='';
/**
* The password of the above user
*
* @var string
*/
public static $database_password='';
/**
* The database name
*
* @var string
*/
public static $database_name='';