The MySQL adapter "mysql" is not availab [Solved/Closed]

neda - Aug 11, 2008 at 09:41 AM - Latest reply:  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...
See more 

9 replies

Best answer
kicking_and_alive_at_last - Feb 19, 2009 at 11:27 AM
Thank you
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

Thank you, kicking_and_alive_at_last 8

Something to say? Add comment

CCM has helped 1618 users this month

I thank you for ur answers.
Thank you
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.
Thank you

add libmysql.dll to C:\windows\system32

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

Thank you
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
- Aug 11, 2008 at 10:54 AM
Thank you

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