In Windows I use Xampp. I have tried to install MySQL from the command-line and I can access MySQL through workbench software.
Now if I try to run Wordpress on my computer, I get an error that "Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
Someone help me to install MySQL extension(s) for my installation. If I try to install php-mysql
:
$ sudo apt-get install php-mysql
then I get this error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-mysql
Please someone help me to install MySQL extension. Most of the blogposts I have seen have this trick, but it's not working for me. The Ubuntu software center shows me that both MySQL server and client are both as installed.