Merge pull request #2887 from GPCsolutions/dolibarr-2886
Deprecation of the mysql driver
This commit is contained in:
commit
0321257fbe
@ -28,6 +28,8 @@ require_once DOL_DOCUMENT_ROOT .'/core/db/DoliDB.class.php';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Class to manage Dolibarr database access for a MySQL database using the mysql extension
|
* Class to manage Dolibarr database access for a MySQL database using the mysql extension
|
||||||
|
*
|
||||||
|
* @deprecated Use DoliDBMysqli
|
||||||
*/
|
*/
|
||||||
class DoliDBMysql extends DoliDB
|
class DoliDBMysql extends DoliDB
|
||||||
{
|
{
|
||||||
|
|||||||
@ -328,8 +328,9 @@ if (! empty($force_install_message))
|
|||||||
$option.='>';
|
$option.='>';
|
||||||
$option.=$type.' ';
|
$option.=$type.' ';
|
||||||
if ($note) $option.=' '.$note;
|
if ($note) $option.=' '.$note;
|
||||||
// Experimental
|
// Deprecated and experimental
|
||||||
if ($type=='mssql') $option.=' '.$langs->trans("Experimental");
|
if ($type=='mysql') $option.=' ' . $langs->trans("Deprecated");
|
||||||
|
elseif ($type=='mssql') $option.=' '.$langs->trans("Experimental");
|
||||||
elseif ($type=='sqlite') $option.=' '.$langs->trans("Experimental");
|
elseif ($type=='sqlite') $option.=' '.$langs->trans("Experimental");
|
||||||
elseif ($type=='sqlite3') $option.=' '.$langs->trans("Experimental");
|
elseif ($type=='sqlite3') $option.=' '.$langs->trans("Experimental");
|
||||||
// No available
|
// No available
|
||||||
|
|||||||
@ -64,6 +64,7 @@ DatabaseSuperUserAccess=Database server - Superuser access
|
|||||||
CheckToCreateDatabase=Check box if database does not exist and must be created.<br>In this case, you must fill the login/password for superuser account at the bottom of this page.
|
CheckToCreateDatabase=Check box if database does not exist and must be created.<br>In this case, you must fill the login/password for superuser account at the bottom of this page.
|
||||||
CheckToCreateUser=Check box if database owner does not exist and must be created.<br>In this case, you must choose its login and password and also fill the login/password for the superuser account at the bottom of this page. If this box is unchecked, owner database and its passwords must exists.
|
CheckToCreateUser=Check box if database owner does not exist and must be created.<br>In this case, you must choose its login and password and also fill the login/password for the superuser account at the bottom of this page. If this box is unchecked, owner database and its passwords must exists.
|
||||||
Experimental=(experimental)
|
Experimental=(experimental)
|
||||||
|
Deprecated=(deprecated)
|
||||||
DatabaseRootLoginDescription=Login of the user allowed to create new databases or new users, mandatory if your database or its owner does not already exists.
|
DatabaseRootLoginDescription=Login of the user allowed to create new databases or new users, mandatory if your database or its owner does not already exists.
|
||||||
KeepEmptyIfNoPassword=Leave empty if user has no password (avoid this)
|
KeepEmptyIfNoPassword=Leave empty if user has no password (avoid this)
|
||||||
SaveConfigurationFile=Save values
|
SaveConfigurationFile=Save values
|
||||||
@ -211,4 +212,4 @@ MigrationCategorieAssociation=Migration of categories
|
|||||||
MigrationEvents=Migration of events to add event owner into assignement table
|
MigrationEvents=Migration of events to add event owner into assignement table
|
||||||
|
|
||||||
ShowNotAvailableOptions=Show not available options
|
ShowNotAvailableOptions=Show not available options
|
||||||
HideNotAvailableOptions=Hide not available options
|
HideNotAvailableOptions=Hide not available options
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user