mysql connection issues on owncloud

I have successfully installed owncloud in my server, while installing i have faced below error message stating that mysql database “Could not find driver”. See the below screen shot.

mysql connection issues on owncloud.

Why It’s happen ?

After spending two hours investigating on this issue, i have find-out the root causes of issue, this was happen due to pdo driver is not compiled with mysql in my server. Then i have compiled with pdo-mysql driver and tried. Finally Its success. See the below screen shot.

Install below extensions:

MySQL (php-mysql) – A extension for PHP applications that use MySQL databases.

root@server [~]# yum install php-mysql

PDO (php-pdo) – Database access module for PHP applications.

root@server [~]# yum install php-pdo

Add these lines to php.ini:

Finally restart the web server.

root@server [~]# service httpd restart

Now, Owncloud connected with mysql database. See the below screen shot.
We are preparing all articles in-depth to understand by all level/stage Linux administrators. If the article is useful for you, then please spend less than a minute to share your valuable comments in our commenting section.

Please stay tune with us…Good Luck.

About Magesh Maruthamuthu

Love to play with all Linux distribution

View all posts by Magesh Maruthamuthu

2 Comments on “mysql connection issues on owncloud”

Leave a Reply

Your email address will not be published. Required fields are marked *