I can’t for the life of me figure out the format to use to convert my sqlite db to mysql using the web occ commands. I’ve tried everything every witch way and run into errors with everything…
the closest i’ve gotten anything to work was using =
db:convert-type --all-apps mysql hack 127.0.0.1 cloudfiles
i get - In Connection.php line 68: Failed to connect to the database: An exception occurred in driver: could not find driver
db:convert-type mysql hack 127.0.0.1 cloudfiles
gives the same error.
php occ db:convert-type --all-apps mysql hack 127.0.0.1 cloudfiles
says php is not defined
sudo -u www-data php occ db:convert-type mysql hack 127.0.0.1 cloudfiles
says sudo is not defined
Nextcloud version (eg, 18.0.2):
Operating system and version (buster lite on raspberry pi):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):
this is my first time using this occ command line and i’m at a complete loss with all the documentation i’ve found in the help docs.