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