the suggested statement to create a new user and give him grants on a db was invalid
This commit is contained in:
@@ -9,6 +9,9 @@ $Source$
|
|||||||
* read_dump.php3; libraries/build_dump.lib.php3: sending the "fake" header
|
* read_dump.php3; libraries/build_dump.lib.php3: sending the "fake" header
|
||||||
at each it<69>ration is about ten times faster than checking elapsed time
|
at each it<69>ration is about ten times faster than checking elapsed time
|
||||||
and send the header each 20 seconds.
|
and send the header each 20 seconds.
|
||||||
|
* Documentation.html, line 282: the suggested statement to create a new
|
||||||
|
user and give him grants on a db was invalid.
|
||||||
|
* Documentation.txt: updated.
|
||||||
|
|
||||||
2001-12-08 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-12-08 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* libraries/left.js, lines 234-240: fixed a js bug with empty databases.
|
* libraries/left.js, lines 234-240: fixed a js bug with empty databases.
|
||||||
|
@@ -279,7 +279,7 @@
|
|||||||
privileges on a set of perticular databases but shouldn't have any global
|
privileges on a set of perticular databases but shouldn't have any global
|
||||||
privileges. For example, to grant the user <i>real_user</i> with all
|
privileges. For example, to grant the user <i>real_user</i> with all
|
||||||
privileges on the database <i>user_base</i>:<br />
|
privileges on the database <i>user_base</i>:<br />
|
||||||
<tt>GRANT ALL PRIVILEGES ON user_base TO 'real_user'@localhost IDENTIFIED BY 'real_password';</tt>
|
<tt>GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password';</tt>
|
||||||
<br />
|
<br />
|
||||||
What the user may now do is controlled entirely by the MySQL user management
|
What the user may now do is controlled entirely by the MySQL user management
|
||||||
system.
|
system.
|
||||||
@@ -867,23 +867,23 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<b>I cannot insert a text file in a table, and I get an error
|
<b>I cannot insert a text file in a table, and I get an error about safe
|
||||||
about safe mode being in effect.</b>
|
mode being in effect.</b>
|
||||||
<br />
|
<br />
|
||||||
Your uploaded file is saved by PHP in the "upload dir", as
|
Your uploaded file is saved by PHP in the "upload dir", as
|
||||||
defined in <i>php.ini</i> by the variable <tt>upload_tmp_dir</tt> (usually
|
defined in <i>php.ini</i> by the variable <tt>upload_tmp_dir</tt> (usually
|
||||||
the system default is <i>/tmp</i>).
|
the system default is <i>/tmp</i>).
|
||||||
<br />
|
<br />
|
||||||
We recommend the following setup for Apache servers running in
|
We recommend the following setup for Apache servers running in safe mode,
|
||||||
safe mode, to enable uploads of files while being reasonably secure:
|
to enable uploads of files while being reasonably secure:
|
||||||
<br />
|
<br />
|
||||||
<ul>
|
<ul>
|
||||||
<li>create a separate directory for uploads:
|
<li>create a separate directory for uploads:
|
||||||
<tt>mkdir /tmp/php</tt> </li>
|
<tt>mkdir /tmp/php</tt></li>
|
||||||
<li>give ownership to the Apache server's user.group:
|
<li>give ownership to the Apache server's user.group:
|
||||||
<tt>chown apache.apache /tmp/php</tt> </li>
|
<tt>chown apache.apache /tmp/php</tt></li>
|
||||||
<li>give proper permission: <tt>chmod 600 /tmp/php </tt> </li>
|
<li>give proper permission: <tt>chmod 600 /tmp/php</tt></li>
|
||||||
<li>put <tt>upload_tmp_dir = /tmp/php</tt> in php.ini </li>
|
<li>put <tt>upload_tmp_dir = /tmp/php</tt> in php.ini</li>
|
||||||
<li>restart Apache</li>
|
<li>restart Apache</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
phpMyAdmin 2.2.2 Documentation
|
phpMyAdmin 2.2.3-dev Documentation
|
||||||
|
|
||||||
* [1]Official phpMyAdmin project homepage [
|
* [1]Official phpMyAdmin project homepage [
|
||||||
http://www.phpwizard.net/projects/phpMyAdmin/ ]
|
http://www.phpwizard.net/projects/phpMyAdmin/ ]
|
||||||
@@ -9,8 +9,8 @@
|
|||||||
+ Version history: [3]ChangeLog
|
+ Version history: [3]ChangeLog
|
||||||
+ General notes: [4]README
|
+ General notes: [4]README
|
||||||
+ License: [5]LICENSE
|
+ License: [5]LICENSE
|
||||||
* Documentation version: $Id: Documentation.html,v 1.105 2001/12/02
|
* Documentation version: $Id: Documentation.html,v 1.109 2001/12/05
|
||||||
17:21:26 loic1 Exp $
|
17:48:48 lem9 Exp $
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
[6]Top - [7]Requirements - [8]Introduction - [9]Installation -
|
[6]Top - [7]Requirements - [8]Introduction - [9]Installation -
|
||||||
@@ -119,7 +119,7 @@ Installation
|
|||||||
privileges on a set of perticular databases but shouldn't have any
|
privileges on a set of perticular databases but shouldn't have any
|
||||||
global privileges. For example, to grant the user real_user with
|
global privileges. For example, to grant the user real_user with
|
||||||
all privileges on the database user_base:
|
all privileges on the database user_base:
|
||||||
GRANT ALL PRIVILEGES ON user_base TO 'real_user'@localhost
|
GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost
|
||||||
IDENTIFIED BY 'real_password';
|
IDENTIFIED BY 'real_password';
|
||||||
What the user may now do is controlled entirely by the MySQL user
|
What the user may now do is controlled entirely by the MySQL user
|
||||||
management system.
|
management system.
|
||||||
@@ -376,10 +376,17 @@ Configuration
|
|||||||
Force: always use this language (must be defined in the
|
Force: always use this language (must be defined in the
|
||||||
select_lang.inc.php3 script).
|
select_lang.inc.php3 script).
|
||||||
|
|
||||||
|
$cfgLeftWidth integer
|
||||||
|
Left frame width in pixel.
|
||||||
|
|
||||||
$cfgLeftBgColor string [HTML color]
|
$cfgLeftBgColor string [HTML color]
|
||||||
$cfgRightBgColor string [HTML color]
|
$cfgRightBgColor string [HTML color]
|
||||||
The background colors (HTML) used for both the frames.
|
The background colors (HTML) used for both the frames.
|
||||||
|
|
||||||
|
$cfgLeftPointerColor string [HTML color]
|
||||||
|
The color (HTML) used for the pointer in the left frame (does
|
||||||
|
not work with NS4).
|
||||||
|
|
||||||
$cfgBorder integer
|
$cfgBorder integer
|
||||||
The size of a table's border.
|
The size of a table's border.
|
||||||
|
|
||||||
@@ -392,7 +399,7 @@ Configuration
|
|||||||
$cfgBgcolorTwo string [HTML color]
|
$cfgBgcolorTwo string [HTML color]
|
||||||
The color (HTML) #2 for table rows.
|
The color (HTML) #2 for table rows.
|
||||||
|
|
||||||
$cfgPointerColor string [HTML color]
|
$cfgBrowsePointerColor string [HTML color]
|
||||||
The color (HTML) used for the pointer in browse mode (does not
|
The color (HTML) used for the pointer in browse mode (does not
|
||||||
work with NS4).
|
work with NS4).
|
||||||
|
|
||||||
@@ -411,9 +418,6 @@ Configuration
|
|||||||
when tables contents are displayed (you may have them displayed
|
when tables contents are displayed (you may have them displayed
|
||||||
both at the left and at the right).
|
both at the left and at the right).
|
||||||
|
|
||||||
$cfgLeftWidth integer
|
|
||||||
Left frame width in pixel.
|
|
||||||
|
|
||||||
$cfgColumnTypes array
|
$cfgColumnTypes array
|
||||||
All possible types of a MySQL column. In most cases you don't
|
All possible types of a MySQL column. In most cases you don't
|
||||||
need to edit this.
|
need to edit this.
|
||||||
@@ -476,18 +480,20 @@ FAQ - Frequently Asked Questions
|
|||||||
Mode or not, and so on). So, you must have PHP4 >= 4.0.4 and
|
Mode or not, and so on). So, you must have PHP4 >= 4.0.4 and
|
||||||
Zlib/Bzip2 support (--with-zlib and --with-bz2).
|
Zlib/Bzip2 support (--with-zlib and --with-bz2).
|
||||||
|
|
||||||
I try to insert a text file in a table, and I get:
|
I cannot insert a text file in a table, and I get an error about safe
|
||||||
Error MySQL said: The file '/tmp/phpkvpp60' must be in the database
|
mode being in effect.
|
||||||
directory or be readable by all
|
|
||||||
Your uploaded file is saved by PHP in the "upload dir", as defined in
|
Your uploaded file is saved by PHP in the "upload dir", as defined in
|
||||||
php.ini by the variable upload_tmp_dir (usually the system default is
|
php.ini by the variable upload_tmp_dir (usually the system default is
|
||||||
/tmp). If this directory is not readable by all, the MySQL server
|
/tmp).
|
||||||
(which must be running on the same machine) cannot open the file
|
We recommend the following setup for Apache servers running in safe
|
||||||
(except if running as root, which is not recommended).
|
mode, to enable uploads of files while being reasonably secure:
|
||||||
The system administrator can do a "chmod 777 /tmp": then the MySQL
|
* create a separate directory for uploads: mkdir /tmp/php
|
||||||
server will accept to read it. Also, the user must have File
|
* give ownership to the Apache server's user.group: chown
|
||||||
privilege.
|
apache.apache /tmp/php
|
||||||
|
* give proper permission: chmod 600 /tmp/php
|
||||||
|
* put upload_tmp_dir = /tmp/php in php.ini
|
||||||
|
* restart Apache
|
||||||
|
|
||||||
I'm having troubles when uploading files. In general file uploads
|
I'm having troubles when uploading files. In general file uploads
|
||||||
don't work on my system and uploaded files have a Content-Type: header
|
don't work on my system and uploaded files have a Content-Type: header
|
||||||
in the first line.
|
in the first line.
|
||||||
@@ -619,11 +625,20 @@ FAQ - Frequently Asked Questions
|
|||||||
A workaround is to create a smaller number of fields, then come back
|
A workaround is to create a smaller number of fields, then come back
|
||||||
to your table properties and add the other fields.
|
to your table properties and add the other fields.
|
||||||
|
|
||||||
With Xitami 2.5b4, phpMyAdmin won't process form fields
|
With Xitami 2.5b4, phpMyAdmin won't process form fields.
|
||||||
This is not a phpMyAdmin problem but a Xitami known bug: you'll face
|
This is not a phpMyAdmin problem but a Xitami known bug: you'll face
|
||||||
it with each script/website that use forms.
|
it with each script/website that use forms.
|
||||||
Upgrade or downgrade your Xitami server.
|
Upgrade or downgrade your Xitami server.
|
||||||
|
|
||||||
|
I have problems dumping tables with Konqueror (phpMyAdmin 2.2.2)
|
||||||
|
With Konqueror 2.1.1: plain dumps, zip and gzip dumps work ok, except
|
||||||
|
that the proposed file name for the dump is always 'tbl_dump.php'.
|
||||||
|
Bzip2 dumps don't seem to work.
|
||||||
|
With Konqueror 2.2.1: plain dumps work; zip dumps are placed into the
|
||||||
|
user's temporary directory, so they must be moved before closing
|
||||||
|
Konqueror, or else they disappear. Gzip dumps give an error message.
|
||||||
|
Testing needs to be done for Konqueror 2.2.2.
|
||||||
|
|
||||||
[Using phpMyAdmin]
|
[Using phpMyAdmin]
|
||||||
|
|
||||||
I can't insert new rows into a table - MySQL brings up a SQL-error.
|
I can't insert new rows into a table - MySQL brings up a SQL-error.
|
||||||
|
Reference in New Issue
Block a user