On 11.02.2012 16:53, Parker, Joshua wrote:
Thomas, I tried out the script and it definitely creates a config.php file with
the info needed, however, I am missing something with regards to
having it create the database tables and the owncloud admin user. Below is what
I have in my autoconfig.php file. Any help is greatly appreciated.
<?php
$AUTOCONFIG = array(
"dbtype"=>"mysql",
"dbname"=>"oc",
"dbuser"=>"root",
"dbpassword"=>"root",
"dbhost"=>"localhost",
"directory"=>"/Applications/MAMP/htdocs/owncloud/data",
"adminlogin"=>"parker",
"adminpass"=>"parker"
);
?>
Hi Parker,
on the first call of your owncloud instance the admin user should get created
and the database gets created
and initialized. Just like if you would have used the web config form. See
lib/setup.php#34 ff.
Doesn't this work for you?
Greetings
--
Thomas Schmidt (tom [at] opensuse.org)
openSUSE Boosters Team
"Don't Panic", Douglas Adams (11.03.1952 - 11.05.2001)
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud