cosmetic changes

This commit is contained in:
Loïc Chapeaux
2002-03-08 10:25:50 +00:00
parent 56619153b0
commit bd59755948
2 changed files with 23 additions and 23 deletions

View File

@@ -211,15 +211,15 @@
<p>
<font color="#bb0000">Documentation warning:</font> when you see in this
document a <tt>.php3</tt> file extension, please transpose to <tt>.php</tt>
document a <i>.php3</i> file extension, please transpose to <i>.php</i>
if you are using a kit with files having this extension.
</p>
<p><b>Quick Install:</b></p>
<ol>
<li> Use a distribution kit with the files having the extension
(.php3 or .php) depending on the way your web/PHP server interprets
those extensions.</li>
(<i>.php3</i> or <i>.php</i>) depending on the way your web/PHP server
interprets those extensions.</li>
<li> Untar or unzip the distribution (be sure to unzip the subdirectories):
<tt>tar xzvf phpMyAdmin_x.x.x.tar.gz</tt> in your webserver's
document root.</li>
@@ -439,12 +439,13 @@
Please see the <a class="navigation" href="#setup">install section</a>
on &quot;Using http authentication&quot; for more information.
<br /><br />
Note that if you try login to phpMyAdmin with this &quot;controluser&quot;,
you could get some errors, depending the exact privileges you gave to
the &quot;controluser&quot;. phpMyAdmin does not support a direct login
with the &quot;controluser&quot;.
Note that if you try login to phpMyAdmin with this
&quot;controluser&quot;, you could get some errors, depending the exact
privileges you gave to the &quot;controluser&quot;. phpMyAdmin does not
support a direct login with the &quot;controluser&quot;.
<br /><br />
In versions before 2.2.5, those were called stduser/stdpass.
In versions before 2.2.5, those were called
&quot;stduser/stdpass&quot;.
<br /><br />
</dd>
@@ -548,8 +549,8 @@
</li>
</ul><br />
Note that <tt>controluser</tt> must have <tt>SELECT</tt>, <tt>INSERT</tt>
and <tt>DELETE</tt> privileges on the bookmark table.
Note that <tt>controluser</tt> must have <tt>SELECT</tt>,
<tt>INSERT</tt> and <tt>DELETE</tt> privileges on the bookmark table.
Here is a query to set up those privileges (using &quot;pma&quot; as
the controluser:<br />
<tt>GRANT SELECT,INSERT,DELETE ON &lt;bookmarkdb&gt;.&lt;bookmarktable&gt; to 'pma'@localhost;</tt>
@@ -1122,14 +1123,14 @@
<br /><br />
For RedHat users, Harald Legner suggests this on the mailing list:
<br /><br />
On my RedHat-Box the socket of mysql is /var/lib/mysql/mysql.sock. In your
php.ini you will find a line
On my RedHat-Box the socket of mysql is <i>/var/lib/mysql/mysql.sock</i>.
In your php.ini you will find a line
<br />
<tt>mysql.default_socket = /tmp/mysql.sock</tt>
&nbsp;&nbsp;&nbsp;&nbsp;<tt>mysql.default_socket = /tmp/mysql.sock</tt>
<br />
change it to
<br />
<tt>mysql.default_socket = /var/lib/mysql/mysql.sock</tt>
&nbsp;&nbsp;&nbsp;&nbsp;<tt>mysql.default_socket = /var/lib/mysql/mysql.sock</tt>
<br />
Then restart apache and it will work.
<br /><br />
@@ -1280,8 +1281,8 @@
<br />
Starting with 2.2.5, in the user management page, you can enter a wildcard
database name for a user, and put the privileges you want. For example,
adding SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER would
let a user create/manage his/her database(s).
adding <tt>SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER</tt>
would let a user create/manage his/her database(s).
</p>
<h3>[Browsers or client OS]</h3>
@@ -1637,7 +1638,7 @@ P
Kristof Hamann, Thomas Kl<4B>ger, Lubos Klokner, Martin Marconcini,
Girish Nair, David Nordenberg, Bernard M. Piller, Laurent Haas,
&quot;Sakamoto&quot;, Yuval Sarna, www.securereality.com.au,
Peter Svec, Michael Tacelosky, Daniel Villanueva, Vinay,
Peter Svec, Michael Tacelosky, Lu<4C>s V., Daniel Villanueva, Vinay,
Ignacio Vazquez-Abrams, Chee Wai, Jakub Wilk, Thomas Michael Winningham.

View File

@@ -71,7 +71,6 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
include('./config.inc.php3');
// For compatibility with old config.inc.php3
if (!isset($cfgExecTimeLimit)) {
$cfgExecTimeLimit = 300; // 5 minutes
}
@@ -177,7 +176,7 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
$suffix = '.dll';
} else {
$suffix = '.so';
}
}
if (!@extension_loaded($extension)) {
@dl($extension.$suffix);
}
@@ -428,7 +427,7 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
if (isset($cfgServer['stduser'])) {
$cfgServer['controluser'] = $cfgServer['stduser'];
$cfgServer['controlpass'] = $cfgServer['stdpass'];
}
}
// Gets the authentication library that fits the cfgServer settings
// and run authentication
@@ -492,8 +491,8 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
@ini_set('track_errors', $bkp_track_err);
}
// If controluser isn't defined, use the current user settings to get his
// rights
// If controluser isn't defined, use the current user settings to get
// his rights
if ($cfgServer['controluser'] == '') {
$dbh = $userlink;
}
@@ -556,7 +555,7 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
. 'FROM mysql.user '
. 'WHERE User = \'' . PMA_sqlAddslashes($cfgServer['user']) . '\'';
$rs = mysql_query($auth_query, $dbh); // Debug: or PMA_mysqlDie('', $auth_query, FALSE);
} // end
} // end
} // end if (!$dblist_cnt)
// Access to "mysql" db allowed and dblist still empty -> gets the