The MySQL adapter "mysql" is not availab

neda - Aug 11, 2008 at 09:41 AM
 rohit - Mar 18, 2014 at 02:39 AM
hi,i going to install joomla in XP,but

I get the following error message...

Unable to connect to the database:The MySQL adapter "mysql" is not available.

MySql is running smoothly when I login through the command line.

Im using Apache.

Please help...

5 responses

Feb 19, 2009 at 11:27 AM
try locating and setting the following parameter in your php.ini (it is in the Dynamic Extensions section):


prior to this change, I could make a simple php script without mysql run, like this


but not another one like this

echo mysql_connect ('localhost', '<yourwebuser>', '<yourwebuserpassword>');

the previous should normally output something like:

Resource id #n

where n=1 or 2 or
I thank you for ur answers.
Is a php configuration,
using phpinfo() you have to see the mysql installed,
if not installed reinstall the php and select to install even the mysql module.

add libmysql.dll to C:\windows\system32

restart apache
Dont't work at all !!!!

Hi... All
The conn. prob of mysql can also solve the foll approaches.. ha..
juz copy the php.ini file to winnt folder if your o.s is win 2k...
then resrat the appache . finally juz clear the tmp file on ie settings..
it will workfine
am Abdul Salam

Didn't find the answer you are looking for?

Ask a question
hornmann Posts 8 Registration date Thursday May 8, 2008 Status Member Last seen May 29, 2009 4
Aug 11, 2008 at 10:54 AM

what you need is microsoft sql database you can get one from

install it and then after it will work no worries
I installed MySql on the my pc(in the time installing Joomla,MySql installed),but I continuously get error message:
The MySQL adapter "mysql" is not availab ...
problem didnt solve for me...
Aug 16, 2008 at 06:18 PM
I'm getting the same error; but installing any type of Microsoft SQL database is NOT the answer; JOOMLA requires MySQL database. Any other suggestions? Thanks