Extension talk:Auth viaMySQL

In your login scripts for your web page add something like:
is wrong and did not work for my mediawiki v1.14.0;

This one worked (table/row names are different):

where exactly should the login script go? This would be a nice clarification. Thanks,

Instructions Are Very Confusing

 * Now that it's talking about "MediaWiki Authentication via MySQL", but where to tell the MySQL database info, such as, hostname, database name, dababase username, password, and table name, etc.?
 * Why the MySQLActiveUser.php file needs to be in the directory just BEFORE the MediaWiki installation directory? I want to have the authentication for the MediaWiki, not for the entire Apache website.
 * "in your login/logout scritps" are especially confusing. What and where are the scripts? Why don't we just modify the LocalSettings.php to give some basic settings (including require_once, database info, etc.)?

Hope someone could make it simpler and clearer. It would be nice that it is working as this:
 * Download the Auth_viaMySQL extension to ./extensions directory
 * Modify LocalSettings.php
 * Users just need to click "Log in / create accout" at the up-right of the MW page to log in, and
 * click the "Log out" to log out.