The MySQL adapter mysqli is not available

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
RichaSaidha
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Wed Feb 19, 2014 12:34 am

The MySQL adapter mysqli is not available

Post by RichaSaidha » Wed Jul 16, 2014 4:11 pm

I have installed joomla on my local computer and working on that on localhost from last 4 months. But now i was again installing joomla using cpanel so that i can work online. I installed joomla successfully but it can not open the administrator page "Myjoomlasite/joomla30/administrator" and showing the error "Error displaying the error page: Application Instantiation Error: The MySQL adapter mysqli is not available". Please help.

User avatar
alikon
Joomla! Champion
Joomla! Champion
Posts: 5941
Joined: Fri Aug 19, 2005 10:46 am
Location: Roma
Contact:

Re: The MySQL adapter mysqli is not available

Post by alikon » Wed Jul 16, 2014 4:47 pm

MySQL adapter mysqli is not available could depend from php configuration
so you could ask your host to enable mysqli support
or
check your php.ini and make sure that PHP has mysqli support enabled
or
In configuration.php change

Code: Select all

public $dbtype = 'mysql'; 
to

Code: Select all

public $dbtype = 'mysqli';	
or
?
give more info
Nicola Galgano
i know that i don't know
www.alikonweb.it

pacowilson
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Fri Feb 03, 2012 8:54 am
Contact:

Re: The MySQL adapter mysqli is not available

Post by pacowilson » Wed Jul 23, 2014 2:51 am

You need go to Cpanel, then choose the PHP version, when you choose the PHP version, there are modules which allow you to install.

You need to tick the [Mysqli]
You do not have the required permissions to view the files attached to this post.
Design & sell wireless alarm system based on GSM, no monthly fee. http://www.hkvstar.com

pacowilson
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Fri Feb 03, 2012 8:54 am
Contact:

Re: The MySQL adapter mysqli is not available

Post by pacowilson » Wed Jul 23, 2014 2:55 am

Below is the screenshot which shows you where is the PHP version option is.
You do not have the required permissions to view the files attached to this post.
Design & sell wireless alarm system based on GSM, no monthly fee. http://www.hkvstar.com

technicaldk
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Wed Jul 23, 2014 6:43 pm
Contact:

Re: The MySQL adapter mysqli is not available

Post by technicaldk » Thu Jul 24, 2014 12:09 pm

mySQL improvement extension is not installed on the server.

If it's your own server with cPanel.
Login to WHM and go to easyapache, here you add mySQLi and start automatic php compile.
Best Regards
Bastian J - CEO
Technical.dk & ideweb.dk

RichaSaidha
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Wed Feb 19, 2014 12:34 am

Re: The MySQL adapter mysqli is not available

Post by RichaSaidha » Wed Jul 30, 2014 1:32 pm

Thanks all! I will try your suggestions. Lets see what is the problem behind.......

RobertKza
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Aug 23, 2016 9:34 am

Re: The MySQL adapter mysqli is not available

Post by RobertKza » Wed Jan 11, 2017 6:21 pm

Many thanks for recording this. Saved lots of heartache :-)


Locked

Return to “Installation Joomla! 3.x”