sqlite3 and MySQL

Ask all your questions regarding OC 4.x and older. Please read the Support Forum Rules
Forum rules
Before you post; make sure you are using at least PHP Version 5.3.x - Also read How To Solve Problems By Yourself

sqlite3 and MySQL

Postby rayalan » Mon Oct 15, 2012 3:31 am

I haven't been able to find a clear answer, other than basic discussions...

I am trying to reinstall/reconfigure a OC4.5 instance to use MySQL

I am not concerned about users -- we can set those up again...

I can't seem to get the setup wizard to recognize MySQL as an option

When I change the Install=>"false" and open the browser, the setup screen appears -- however, when I click advanced it says "SQLite will be used" and never gives me the option to use MySQL

I have also changed the config.php to reflect MySql with no luck
I even deleted the config.php and modified the sample config to reflect MySQL and it still continues to say SQLite will be used...

Am I doing something wrong or missing something to enable the MySQL option? Oh, and yes, MySQL is installed

Ubuntu is the OS

Thanks!

Mike
rayalan
Newbie
 
Posts: 2
Joined: Mon Oct 15, 2012 3:26 am

Re: sqlite3 and MySQL

Postby Rancor » Mon Oct 15, 2012 6:37 am

Did you install the php5-mysql package?
Rancor
OwnCloud master
 
Posts: 6117
Joined: Sat May 26, 2012 2:00 pm
ownCloud version: 6.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 5.4.x

Re: sqlite3 and MySQL

Postby rayalan » Mon Oct 15, 2012 2:36 pm

Thanks for the reply -- I didn't have that module installed, but I did add it, still no joy...
After installing the module, I changed the installed value to false and tried and then tried changing the database value to mySQL, still no change -- the setup page says SQLite will be used...

Any other thoughts on why I can't see MySQL as an option?

Thanks!
Mike
rayalan
Newbie
 
Posts: 2
Joined: Mon Oct 15, 2012 3:26 am

Re: sqlite3 and MySQL

Postby RandolphCarter » Mon Oct 15, 2012 2:39 pm

Have you tried removing the config.php (or simply renaming it, to keep a back up) completely instead of just setting installed to false?
RandolphCarter
Inventory
 
Posts: 3302
Joined: Wed May 30, 2012 7:42 am
ownCloud version: 6.0.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.5.x


Return to ownCloud Community Edition 4.x and older

Who is online

Users browsing this forum: Google [Bot] and 12 guests