<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https:///index.php?action=history&amp;feed=atom&amp;title=Apache_mySQL_authentication</id>
	<title>Apache mySQL authentication - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https:///index.php?action=history&amp;feed=atom&amp;title=Apache_mySQL_authentication"/>
	<link rel="alternate" type="text/html" href=""/>
	<updated>2026-04-07T09:36:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id></id>
		<title>Gr0x0rd: Created page with &quot;== Installing the module ==  Apache mySQL authentication is provided by an apache module. To install it,   &#039;&#039;&#039;$&#039;&#039;&#039; sudo emerge -av mod_auth_mysql After the emerge has completed, ...&quot;</title>
		<link rel="alternate" type="text/html" href=""/>
		<updated>2011-05-09T16:35:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Installing the module ==  Apache mySQL authentication is provided by an apache module. To install it,   &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; sudo emerge -av mod_auth_mysql After the emerge has completed, ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Installing the module ==&lt;br /&gt;
&lt;br /&gt;
Apache mySQL authentication is provided by an apache module. To install it, &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; sudo emerge -av mod_auth_mysql&lt;br /&gt;
After the emerge has completed, edit the apache configuration file so the module is loaded when the server starts.&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; sudo nano -w /etc/conf.d/apache2 &lt;br /&gt;
Ensure that the &amp;#039;&amp;#039;&amp;#039;APACHE2_OPTS&amp;#039;&amp;#039;&amp;#039; variable contains the directive&lt;br /&gt;
 -D AUTH_MYSQL &lt;br /&gt;
Next, log into mysql as root.&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; mysql -u root -p&lt;br /&gt;
Use the examples in the [mySQL] page to create a database and grant the desired user permissions to it. Next, create an authorization table.&lt;br /&gt;
 mysql&amp;gt;USE &amp;#039;&amp;#039;yourdatabase&amp;#039;&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
** to be updated **&lt;br /&gt;
&lt;br /&gt;
Restart apache to enable the changes.&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; sudo /etc/init.d/apache2 restart&lt;/div&gt;</summary>
		<author><name>Gr0x0rd</name></author>
	</entry>
</feed>