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.
owncloud-dont-connect-or-accept-mysql-databases-1

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.

[email protected] [~]# yum install php-mysql

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

[email protected] [~]# yum install php-pdo

Add these lines to php.ini:

extension=pdo.so
extension=pdo_mysql.so

Finally restart the web server.

[email protected] [~]# service httpd restart

Now, Owncloud connected with mysql database. See the below screen shot.
owncloud-dont-connect-or-accept-mysql-databases-2
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 to 2daygeek Cancel reply

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