Hi,
I just downloaded DokuWiki and I'm keen to allow the users of my project to get started with writing my documentation. ;-)
I haven't given much thought to user account management, but I thought I'd try to configure the MySQL authentication anyway.
* Question 1: Is that a good idea? What do I gain compared to what I presume is some form of built-in authentication?
So I configured my SQL server, database, login and password in mysql.conf.php and I configured a database using the example at
http://www.dokuwiki.org/auth:mysql (3/4 of the way down the page). Now, the problem is that the superuser account which I created when I ran install.php and before I added MySQL auth, is no longer accessible, presumably because it exists in the non-MySQL world.
* Question 2: How can I migrate my superuser account to the MySQL setup? Is it sufficient to create a MySQL-based account with the identical username? I tried that (using MD5(mypassword) in the password field) but it doesn't let me in.
In fact, I'm not even sure that the MySQL connection is working correctly. If I try to register a new user, I get "Sorry, a user with this login already exists.", even though there are no users in the database. I'm going to presume that this is a general failure error message - for example, it's the same one which I get if I put the wrong SQL connection password in mysql.conf.php .
* Question 3: Is there a way to tell whether or not the MySQL auth connection is actually being made?
Thanks,
Nick