View Issue Details

IDProjectCategoryView StatusLast Update
0005638OXID eShop (all versions)4.01. Database handlingpublic2023-11-24 10:37
Reportermartinwegele Assigned To 
PrioritylowSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version4.8.3 / 5.1.3 
Fixed in Version6.0.0-beta.1 
Summary0005638: Setup uses mysql_ functions only
DescriptionThe setup routine does not make use of the oxDb-class or AdoDbLite but instead uses the mysql_-functions which are deprecated as of PHP 5.5.0: http://de3.php.net/ChangeLog-5.php#5.5.0
Therefore simply changing the dbType in config.inc.php does not help and you cannot install OXID eShop on a server where the "oldschool" mysql_-functions are not available.
If I saw it correctly this fact is pointed out in the official system requirements but it may become a problem in the future when the mysql_-functions are not available in every PHP installation by default.
TagsMySQL, PHP, Setup
ThemeNot defined
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Relationships

related to 0005617 resolvedLinas Kukulskis Failure in diagnostics 

Activities

tomas_liubinas

2014-02-05 10:04

reporter   ~0009471

MySQL system requirements (displayed during setup) is green when at least one of the following extensions are installed: mysql, mysqli or pdo_mysql. However our setup process as you mentioned explicitly uses mysql extension. This is not consistent.

michael_keiluweit

2014-02-06 12:04

administrator   ~0009477

A mysql_* function (mysql_get_server_info()) is also used in oxDiagnostics::_getMySqlServerInfo().

More information and alternative functions: http://php.net/manual/en/function.mysql-get-server-info.php

FibreFoX

2014-04-24 15:33

reporter   ~0009860

related to this: https://bugs.oxid-esales.com/view.php?id=4819 (because oxDB contains mysql_real_escape_string)

Sven Brunk

2023-11-24 10:37

administrator   ~0015930

AdoDbLite was removed from the framework in version 6.0