cosmetic changes
This commit is contained in:
@@ -211,15 +211,15 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
<font color="#bb0000">Documentation warning:</font> when you see in this
|
<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.
|
if you are using a kit with files having this extension.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><b>Quick Install:</b></p>
|
<p><b>Quick Install:</b></p>
|
||||||
<ol>
|
<ol>
|
||||||
<li> Use a distribution kit with the files having the extension
|
<li> Use a distribution kit with the files having the extension
|
||||||
(.php3 or .php) depending on the way your web/PHP server interprets
|
(<i>.php3</i> or <i>.php</i>) depending on the way your web/PHP server
|
||||||
those extensions.</li>
|
interprets those extensions.</li>
|
||||||
<li> Untar or unzip the distribution (be sure to unzip the subdirectories):
|
<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
|
<tt>tar xzvf phpMyAdmin_x.x.x.tar.gz</tt> in your webserver's
|
||||||
document root.</li>
|
document root.</li>
|
||||||
@@ -439,12 +439,13 @@
|
|||||||
Please see the <a class="navigation" href="#setup">install section</a>
|
Please see the <a class="navigation" href="#setup">install section</a>
|
||||||
on "Using http authentication" for more information.
|
on "Using http authentication" for more information.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
Note that if you try login to phpMyAdmin with this "controluser",
|
Note that if you try login to phpMyAdmin with this
|
||||||
you could get some errors, depending the exact privileges you gave to
|
"controluser", you could get some errors, depending the exact
|
||||||
the "controluser". phpMyAdmin does not support a direct login
|
privileges you gave to the "controluser". phpMyAdmin does not
|
||||||
with the "controluser".
|
support a direct login with the "controluser".
|
||||||
<br /><br />
|
<br /><br />
|
||||||
In versions before 2.2.5, those were called stduser/stdpass.
|
In versions before 2.2.5, those were called
|
||||||
|
"stduser/stdpass".
|
||||||
<br /><br />
|
<br /><br />
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
@@ -548,8 +549,8 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul><br />
|
</ul><br />
|
||||||
|
|
||||||
Note that <tt>controluser</tt> must have <tt>SELECT</tt>, <tt>INSERT</tt>
|
Note that <tt>controluser</tt> must have <tt>SELECT</tt>,
|
||||||
and <tt>DELETE</tt> privileges on the bookmark table.
|
<tt>INSERT</tt> and <tt>DELETE</tt> privileges on the bookmark table.
|
||||||
Here is a query to set up those privileges (using "pma" as
|
Here is a query to set up those privileges (using "pma" as
|
||||||
the controluser:<br />
|
the controluser:<br />
|
||||||
<tt>GRANT SELECT,INSERT,DELETE ON <bookmarkdb>.<bookmarktable> to 'pma'@localhost;</tt>
|
<tt>GRANT SELECT,INSERT,DELETE ON <bookmarkdb>.<bookmarktable> to 'pma'@localhost;</tt>
|
||||||
@@ -1122,14 +1123,14 @@
|
|||||||
<br /><br />
|
<br /><br />
|
||||||
For RedHat users, Harald Legner suggests this on the mailing list:
|
For RedHat users, Harald Legner suggests this on the mailing list:
|
||||||
<br /><br />
|
<br /><br />
|
||||||
On my RedHat-Box the socket of mysql is /var/lib/mysql/mysql.sock. In your
|
On my RedHat-Box the socket of mysql is <i>/var/lib/mysql/mysql.sock</i>.
|
||||||
php.ini you will find a line
|
In your php.ini you will find a line
|
||||||
<br />
|
<br />
|
||||||
<tt>mysql.default_socket = /tmp/mysql.sock</tt>
|
<tt>mysql.default_socket = /tmp/mysql.sock</tt>
|
||||||
<br />
|
<br />
|
||||||
change it to
|
change it to
|
||||||
<br />
|
<br />
|
||||||
<tt>mysql.default_socket = /var/lib/mysql/mysql.sock</tt>
|
<tt>mysql.default_socket = /var/lib/mysql/mysql.sock</tt>
|
||||||
<br />
|
<br />
|
||||||
Then restart apache and it will work.
|
Then restart apache and it will work.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
@@ -1280,8 +1281,8 @@
|
|||||||
<br />
|
<br />
|
||||||
Starting with 2.2.5, in the user management page, you can enter a wildcard
|
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,
|
database name for a user, and put the privileges you want. For example,
|
||||||
adding SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER would
|
adding <tt>SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER</tt>
|
||||||
let a user create/manage his/her database(s).
|
would let a user create/manage his/her database(s).
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>[Browsers or client OS]</h3>
|
<h3>[Browsers or client OS]</h3>
|
||||||
@@ -1637,7 +1638,7 @@ P
|
|||||||
Kristof Hamann, Thomas Kl<4B>ger, Lubos Klokner, Martin Marconcini,
|
Kristof Hamann, Thomas Kl<4B>ger, Lubos Klokner, Martin Marconcini,
|
||||||
Girish Nair, David Nordenberg, Bernard M. Piller, Laurent Haas,
|
Girish Nair, David Nordenberg, Bernard M. Piller, Laurent Haas,
|
||||||
"Sakamoto", Yuval Sarna, www.securereality.com.au,
|
"Sakamoto", 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.
|
Ignacio Vazquez-Abrams, Chee Wai, Jakub Wilk, Thomas Michael Winningham.
|
||||||
|
|
||||||
|
|
||||||
|
@@ -71,7 +71,6 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
|||||||
include('./config.inc.php3');
|
include('./config.inc.php3');
|
||||||
|
|
||||||
// For compatibility with old config.inc.php3
|
// For compatibility with old config.inc.php3
|
||||||
|
|
||||||
if (!isset($cfgExecTimeLimit)) {
|
if (!isset($cfgExecTimeLimit)) {
|
||||||
$cfgExecTimeLimit = 300; // 5 minutes
|
$cfgExecTimeLimit = 300; // 5 minutes
|
||||||
}
|
}
|
||||||
@@ -177,7 +176,7 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
|||||||
$suffix = '.dll';
|
$suffix = '.dll';
|
||||||
} else {
|
} else {
|
||||||
$suffix = '.so';
|
$suffix = '.so';
|
||||||
}
|
}
|
||||||
if (!@extension_loaded($extension)) {
|
if (!@extension_loaded($extension)) {
|
||||||
@dl($extension.$suffix);
|
@dl($extension.$suffix);
|
||||||
}
|
}
|
||||||
@@ -428,7 +427,7 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
|||||||
if (isset($cfgServer['stduser'])) {
|
if (isset($cfgServer['stduser'])) {
|
||||||
$cfgServer['controluser'] = $cfgServer['stduser'];
|
$cfgServer['controluser'] = $cfgServer['stduser'];
|
||||||
$cfgServer['controlpass'] = $cfgServer['stdpass'];
|
$cfgServer['controlpass'] = $cfgServer['stdpass'];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Gets the authentication library that fits the cfgServer settings
|
// Gets the authentication library that fits the cfgServer settings
|
||||||
// and run authentication
|
// and run authentication
|
||||||
@@ -492,8 +491,8 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
|||||||
@ini_set('track_errors', $bkp_track_err);
|
@ini_set('track_errors', $bkp_track_err);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If controluser isn't defined, use the current user settings to get his
|
// If controluser isn't defined, use the current user settings to get
|
||||||
// rights
|
// his rights
|
||||||
if ($cfgServer['controluser'] == '') {
|
if ($cfgServer['controluser'] == '') {
|
||||||
$dbh = $userlink;
|
$dbh = $userlink;
|
||||||
}
|
}
|
||||||
@@ -556,7 +555,7 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
|||||||
. 'FROM mysql.user '
|
. 'FROM mysql.user '
|
||||||
. 'WHERE User = \'' . PMA_sqlAddslashes($cfgServer['user']) . '\'';
|
. 'WHERE User = \'' . PMA_sqlAddslashes($cfgServer['user']) . '\'';
|
||||||
$rs = mysql_query($auth_query, $dbh); // Debug: or PMA_mysqlDie('', $auth_query, FALSE);
|
$rs = mysql_query($auth_query, $dbh); // Debug: or PMA_mysqlDie('', $auth_query, FALSE);
|
||||||
} // end
|
} // end
|
||||||
} // end if (!$dblist_cnt)
|
} // end if (!$dblist_cnt)
|
||||||
|
|
||||||
// Access to "mysql" db allowed and dblist still empty -> gets the
|
// Access to "mysql" db allowed and dblist still empty -> gets the
|
||||||
|
Reference in New Issue
Block a user