The MySQL adapter "mysql" is not availab

 rohit -
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 replies

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
Registration date
Thursday May 8, 2008
Last seen
May 29, 2009

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...

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