Cambiar el controlador MySQL utilizado por Joomla

When I was installing Joomla, mysqli was the default option, so I installed with mysqli driver.

But the database of my client is mysqli. So when i migrate my local site to the host, i get this error:

Database connection error (1): The MySQL adapter 'mysqli' is not available.

Can someone know how I change/go back to 'mysql' driver? Because I configured all my Joomla sites in localhost with the 'mysqli' driver.

preguntado el 22 de mayo de 12 a las 14:05

1 Respuestas

Open configuration.php and change this:

public $dbtype = 'mysqli';

a este

public $dbtype = 'mysql';

contestado el 22 de mayo de 12 a las 16:05

@odyodyodys - what do you mean "why"? It can't be changed in the global configuration in the joomla backend as whenever the OP tries to access the website, they get the database connection error, and thus it needs to be done manually - Lodder

@RogerDahl MySQL is obsolete and removed in PHP 7. Mysqli and PDO MySQL are the options to migrated. - José Nobile

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.