diff --git a/Documentation.html b/Documentation.html index 9c870ac9ba..976944b72c 100644 --- a/Documentation.html +++ b/Documentation.html @@ -57,12 +57,12 @@ vim: expandtab ts=4 sw=4 sts=4 tw=78
session support
(see
FAQ 1.31)
, the Standard PHP Library (SPL) extension and JSON support.
zip extension.mcrypt extension
is strongly suggested for most users and is required for
64–bit machines. Not using mcrypt will cause phpMyAdmin to
load pages significantly slower.
@@ -81,7 +81,7 @@ vim: expandtab ts=4 sw=4 sts=4 tw=78
FAQ 2.9.libxml extension.1) phpMyAdmin can compress (Zip, GZip -RFC 1952- or Bzip2 formats) dumps and CSV exports if you use - PHP with Zlib support (--with-zlib) and/or Bzip2 support - (--with-bz2). Proper support may also need changes in - php.ini.
+ PHP with Zlib support (--with-zlib) and/or Bzip2 support
+ (--with-bz2). Proper support may also need changes in
+ php.ini.
\r").
phpMyAdmin-x.x.x-all-languages.tar.gz.
tar -xzvf phpMyAdmin_x.x.x-all-languages.tar.gz in your webserver's
document root. If you don't have direct access to your document root,
put the files in a directory on your local machine, and, after step 4,
transfer the directory on your web server using, for example, ftp.config.inc.php, but now a wizard-style setup script is
provided for those who prefer a graphical installation. Creating a
- config.inc.php is still a quick way to get started and needed for some advanced features.
+ config.inc.php is still a quick way to get started and needed for some advanced features.
config.inc.php (you can copy
+ config.sample.inc.php to get minimal configuration
file) in the main (top-level) phpMyAdmin directory (the one
- that contains index.php). phpMyAdmin first loads
- libraries/config.default.php and then overrides those
- values with anything found in config.inc.php. If the
+ that contains index.php). phpMyAdmin first loads
+ libraries/config.default.php and then overrides those
+ values with anything found in config.inc.php. If the
default value is okay for a particular setting, there is no
- need to include it in config.inc.php. You'll need a
+ need to include it in config.inc.php. You'll need a
few directives to get going, a simple configuration may look
like this:
@@ -249,9 +249,9 @@ $cfg['Servers'][$i]['auth_type'] = 'config';
For a full explanation of possible configuration values, see the
Configuration Section of this document.config.inc.php, you can use the
Setup Script. First you must
- manually create a folder config in the phpMyAdmin
+ manually create a folder config in the phpMyAdmin
directory. This is a security measure. On a Linux/Unix system you
can use the following commands:
@@ -268,19 +268,19 @@ chmod o+w config/config.inc.php # give it world writable permissions
web server has read and write access to it. FAQ
1.26 can help with this.
- Next, open setup/
- in your browser. Note that changes are not saved to
- disk until explicitly choose Save from the
+ Next, open setup/
+ in your browser. Note that changes are not saved to
+ disk until explicitly choose Save from the
Configuration area of the screen. Normally the script saves
- the new config.inc.php to the config/ directory, but if
+ the new config.inc.php to the config/ directory, but if
the webserver does not have the proper permissions you may see the
- error "Cannot load or save configuration." Ensure that the
- config/ directory exists and has the proper permissions -
- or use the Download link to save the config file locally
+ error "Cannot load or save configuration." Ensure that the
+ config/ directory exists and has the proper permissions -
+ or use the Download link to save the config file locally
and upload (via FTP or some similar means) to the proper location.
- Once the file has been saved, it must be moved out of the
- config/ directory and the permissions must be reset, again
+ Once the file has been saved, it must be moved out of the
+ config/ directory and the permissions must be reset, again
as a security measure:
mv config/config.inc.php . # move file to current directory
@@ -291,13 +291,13 @@ rm -rf config # remove not needed directory
the file with your favorite editor, if you prefer to set some
advanced options which the setup script does not provide.auth_type "config", it is suggested that you
protect the phpMyAdmin installation directory because using
config does not require a user to
enter a password to access the phpMyAdmin installation. Use of an alternate
authentication method is recommended, for example with
HTTP–AUTH in a .htaccess file or switch to using
- auth_type cookie or http. See the
+ auth_type cookie or http. See the
multi–user sub–section of this
FAQ for additional
information, especially
@@ -307,8 +307,8 @@ rm -rf config # remove not needed directory
and your databases, or a login dialog if using
HTTP or cookie
authentication mode../libraries and
+ ./setup/lib subfolders in your webserver configuration. For
Apache you can use supplied .htaccess file in that folder, for other
webservers, you should configure this yourself. Such configuration
prevents from possible path exposure and cross side scripting
@@ -333,7 +333,7 @@ rm -rf config # remove not needed directory
multi-user installation (this database would then be accessed by the
controluser, so no other user should have rights to it).
-Please look at your ./examples/ directory, where you should find a +
Please look at your ./examples/ directory, where you should find a
file called create_tables.sql. (If you are using a Windows server, pay
special attention to
FAQ 1.23).
Simply copy ./config.inc.php from your previous installation into the newly
unpacked one. Configuration files from old versions may
require some tweaking as some options have been changed or removed; in
- particular, the definition of $cfg['AttributeTypes'] has changed
+ particular, the definition of $cfg['AttributeTypes'] has changed
so you better remove it from your file and just use the default one.
- For compatibility with PHP 6, remove a set_magic_quotes_runtime(0);
+ For compatibility with PHP 6, remove a set_magic_quotes_runtime(0);
statement that you might find near the end of your configuration file.
You should not copy libraries/config.default.php - over config.inc.php because the default configuration file +
You should not copy libraries/config.default.php
+ over config.inc.php because the default configuration file
is version-specific.
If you have upgraded your MySQL server from a version previous to 4.1.2 to version 5.x or newer and if you use the phpMyAdmin configuration storage, you should run the SQL script - found in examples/upgrade_tables_mysql_4_1_2+.sql.
+ found inexamples/upgrade_tables_mysql_4_1_2+.sql.
--skip-show-database.SELECT privilege on the `mysql`.`user` (all columns except
`Password`), `mysql`.`db` (all columns), `mysql`.`host`
(all columns) and `mysql`.`tables_priv` (all columns except
`Grantor` and `Timestamp`) tables.config.inc.php
file under the
-
- $cfg['Servers'][$i]['controluser'] and
-
- $cfg['Servers'][$i]['controlpass'] settings.
+ $cfg['Servers'][$i]['controluser'] and
+
+ $cfg['Servers'][$i]['controlpass'] settings.pma as the
+ controluser and pmapass as the controlpass, but this is
only an example: use something else in your file! Input these
statements from the phpMyAdmin SQL
Query window or mysql command–line client.localhost with the webserver's host
if it's not the same as the MySQL server's one.
@@ -495,7 +495,7 @@ GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real
$cfg['AllowArbitraryServer'] directive.mcrypt extension will speed up access considerably, but is
not required.config.inc.php:
$cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey.conf';
-You then have to create the swekey.conf file that will associate
+You then have to create the swekey.conf file that will associate
each user with their Swekey Id. It is important to place this file outside
-of your web server's document root (in the example, it is located in /etc). A self documented sample file is provided
-in the examples directory. Feel free to use it with your own
+of your web server's document root (in the example, it is located in /etc). A self documented sample file is provided
+in the examples directory. Feel free to use it with your own
users' information.
If you want to purchase a Swekey please visit
http://phpmyadmin.net/auth_key
@@ -568,26 +568,26 @@ since this link provides funding for phpMyAdmin.
Warning for Mac
users: PHP does not seem to like
Mac end of lines character
- ("\r"). So ensure you choose the option that allows to use
- the *nix end of line character ("\n") in your text editor
+ ("\r"). So ensure you choose the option that allows to use
+ the *nix end of line character ("\n") in your text editor
before saving a script you have modified.
Configuration note:
- Almost all configurable data is placed in config.inc.php. If this file
+ Almost all configurable data is placed in config.inc.php. If this file
does not exist, please refer to the Quick install
section to create one. This file only needs to contain the parameters you want to
change from their corresponding default value in
- libraries/config.default.php.
libraries/config.default.php.
The parameters which relate to design (like colors) are placed in
- themes/themename/layout.inc.php. You might also want to create
+ themes/themename/layout.inc.php. You might also want to create
config.footer.inc.php and config.header.inc.php files to add
your site specific code to be included on start and end of each page.
http://www.your_web.net/path_to_your_phpMyAdmin_directory/.
Note also that the URL on
some web servers are case–sensitive.
Don’t forget the trailing slash at the end.TRUE to stop this message from appearing.
TRUE to stop this message
from appearing.TRUE to stop this message
from appearing.true allows a page located on a different
domain to call phpMyAdmin inside a frame, and is a potential security
hole allowing cross-frame scripting attacks../libraries/config.default.php, there is only one section for
server definition, however you can put as many as you need in
- ./config.inc.php, copy that block or needed parts (you don't
+ ./config.inc.php, copy that block or needed parts (you don't
have to define all settings, just those you need to change).mysql command–line client, issue the status command.
Among the resulting information displayed will be the socket used.'socket' and 'tcp'. It defaults to 'tcp' as that
is nearly guaranteed to be available on all MySQL servers, while
sockets are not supported on some platforms.mysql :
The classic MySQL extension.mysqli :
The improved MySQL extension. This extension became available
with PHP 5.0.0 and is the recommended way to connect to a server
running MySQL 4.1.x or newer.--skip-show-database, to enable a multi-user installation
(HTTP or cookie
authentication mode).SELECT privilege on the
mysql.user (all columns except "Password"),
mysql.db (all columns) and mysql.tables_priv (all columns
except "Grantor" and "Timestamp") tables.
@@ -743,26 +743,26 @@ since this link provides funding for phpMyAdmin.
"stduser/stdpass".['HTTP'|'http'|'cookie'|'config'|'signon']
$auth_type = 'config')
is the plain old way: username and password are stored in
config.inc.php.$auth_type = 'cookie') as introduced in
2.2.3 allows you to log in as any valid MySQL user with the
help of cookies. Username and password are stored in
cookies during the session and password is deleted when it
ends. This can also allow you to log in in arbitrary server if
- $cfg['AllowArbitraryServer'] enabled.
+ $cfg['AllowArbitraryServer'] enabled.
$auth_type = 'HTTP') as introduced in 1.3.0
allows you to log in as any valid MySQL user via HTTP-Auth.$auth_type = 'signon')
as introduced in 2.10.0 allows you to log in from prepared PHP
session data or using supplied PHP script. This is useful for implementing single signon
from another application.
@@ -828,8 +828,8 @@ since this link provides funding for phpMyAdmin.
will be shown to the user. Since phpMyAdmin 2.2.1, this/these
database(s) name(s) may contain MySQL wildcards characters
("_" and "%"): if you want to use literal instances
- of these characters, escape them (I.E. use 'my\_db' and not
- 'my_db').'my\_db' and not
+ 'my_db').$cfg['Servers'][$i]['only_db'] = array('db1', 'db2');
$cfg['Servers'][$i]['only_db'] = array('db3', 'db4', '*');
instead to tell phpMyAdmin that it should display db3 and db4 on top, and the rest in alphabetic
order.$cfg['Servers'][$i]['pmadb']. For a multi-user installation,
set this parameter to the name of your central database containing
the phpMyAdmin configuration storage.
@@ -900,7 +900,7 @@ since this link provides funding for phpMyAdmin.
To allow the usage of this functionality:
$cfg['Servers'][$i]['bookmarktable']
$cfg['Servers'][$i]['relation']
master_db
+ must be the same as foreign_db. Those columns have been put in
future development of the cross-db relations.
@@ -961,7 +961,7 @@ since this link provides funding for phpMyAdmin.
table. To allow the usage of this functionality:
$cfg['Servers'][$i]['table_info'] (e.g.
'pma_table_info')$cfg['Servers'][$i]['table_coords'] and
+ $cfg['Servers'][$i]['pdf_pages']$cfg['Servers'][$i]['column_info'] (e.g.
'pma_column_info')$cfg['Servers'][$i]['column_comments'] to
+ $cfg['Servers'][$i]['column_info']
$cfg['Servers'][$i]['history']
(e.g. 'pma_history')
$cfg['Servers'][$i]['recent'] (e.g. 'pma_recent')$cfg['Servers'][$i]['table_uiprefs'] (e.g. 'pma_table_uiprefs')$cfg['Servers'][$i]['tracking'] (e.g. 'pma_tracking')$cfg['Servers'][$i]['userconfig']$cfg['Servers'][$i]['designer_coords'] (e.g. 'pma_designer_coords')
TRUE (default) phpMyAdmin will check if you have the
latest table structure available. If not, it will emit a warning to the
superuser.false for this parameter prevents unintended access
to a MySQL server with was left with an empty password for root or
on which an anonymous (blank) user is defined.
'deny,allow' then the system applies
all deny rules followed by allow rules. Access is allowed by default. Any
client which does not match a Deny command or does match an Allow command
will be allowed access to the server. 'allow,deny' then the system
applies all allow rules followed by deny rules. Access is denied by
default. Any client which does not match an Allow directive or does
match a Deny directive will be denied access to the server.'%' as
a wildcard in the username field.'allow % from all' if your rule order is set to
+ 'deny,allow' or 'deny % from all' if your rule order
+ is set to 'allow,deny' or 'explicit'.xxx.xxx.xxx.xxx (an exact IP address)xxx.xxx.xxx.[yyy-zzz] (an IP address range)xxx.xxx.xxx.xxx/nn (CIDR, Classless Inter-Domain Routing type IP addresses)xxx.xxx.xxx.xx[yyy-zzz] (partial
IP address range)INFORMATION_SCHEMA to retrieve information (use SHOW commands instead), because of speed issues when many databases are present. Currently used in some parts of the code, more to come.
SHOW
+ DATABASES command used to fetch the name of available databases will
probably be too slow, so it can be replaced by faster commands (see
- libraries/config.default.php for examples).
+ libraries/config.default.php for examples).
$cfg['ServerDefault'] to any one of them to autoconnect to
that server when phpMyAdmin is started, or set it to 0 to be given a
list of servers without logging in.$cfg['ServerDefault']
MUST be set to that server.$cfg['blowfish_secret'].
TRUE.
TRUE.
main.php.
main)
+ or in a new one (new). Note: use new if you are
+ linking to phpmyadmin.net.30. To disable the filter completely some high number
can he used (e.g. 9999)$cfg['Servers'][$i]['verbose'].
DESC|ASC|SMART]ASC) order,
+ in descending (DESC) order or in a "smart"
+ (SMART) order - I.E. descending order for columns of type TIME,
DATE, DATETIME and TIMESTAMP, ascending order else- by default.BLOB or BINARY columns are protected
from editing when browsing a table's content. Valid values are:
- FALSE to allow editing of all columns;'blob' to allow editing of all columns except BLOBS;'all' to disallow editing of all BINARY or
+ BLOB columns.TRUE, use less graphically intense tabs on the top of the
mainframe.TRUE, will display icons instead of text for db and table
properties links (like 'Browse', 'Select', 'Insert', ...).'both' if you want icons AND text.FALSE, will only show text.$cfg['Export']['charset'] and $cfg['Import']['charset'].
X-Forwarded-For) header coming from the proxy 1.2.3.4:
$cfg['TrustedProxies'] =
array('1.2.3.4' => 'HTTP_X_FORWARDED_FOR');
@@ -1890,7 +1890,7 @@ $cfg['TrustedProxies'] =
it's not world writable. However, phpMyAdmin could be installed on
a NTFS filesystem mounted on a non-Windows server, in which case the
permissions seems wrong but in fact cannot be detected. In this case
- a sysadmin would set this parameter to FALSE. Default is TRUE.
+ a sysadmin would set this parameter to FALSE. Default is TRUE.
themes/themename/layout.inc.php.
themes/themename/layout.inc.php.
themes/themename/layout.inc.php.
TRUE activates the navi pointer (when LeftFrameLight
+ is FALSE).themes/themename/layout.inc.php.
themes/themename/layout.inc.php.
themes/themename/layout.inc.php.
themes/themename/layout.inc.php.
themes/themename/layout.inc.php.
arial, sans-serif.themes/themename/layout.inc.php.
monospace. This one is used in textarea.themes/themename/layout.inc.php.
TRUE you can enable the
display of column comments in Browse or Property display. In browse
mode, the comments are shown inside the header. In property mode,
comments are displayed using a CSS-formatted dashed-line below the
@@ -2052,7 +2052,7 @@ $cfg['TrustedProxies'] =
$cfg_SQLValidator.
open_basedir for uploaded
files, see FAQ
1.11.
open_basedir restriction, you need to create a
temporary directory in some directory accessible by the web
server. However for security reasons, this directory should be outside
the tree published by webserver. If you cannot avoid having this
directory published by webserver, place at least an empty
- index.html file there, so that directory listing is not
+ index.html file there, so that directory listing is not
possible.
quick to display the minimum number of options to configurecustom to display every available option to configurecustom-no-form same as custom but does not display the option of using quick exportSQL link
or icon is always displayed on the left panel. If JavaScript is enabled in
your browser, a click on this opens a distinct query window, which is
a direct interface to enter SQL queries. Otherwise, the right panel
changes to display a query box.$cfg['QueryWindowWidth'] and $cfg['QueryWindowHeight']
- both integers for the size in pixels. Note that normally, those
- parameters will be modified in layout.inc.php for the
+ parameters will be modified in layout.inc.php for the
theme you are using.$cfg['EditInWindow'] is set to true, a click on [Edit]
from the results page (in the "Showing Rows" section)
opens the query window and puts the current query
inside it. If set to false, clicking on the link puts the SQL
@@ -2219,7 +2219,7 @@ setfacl -d -m "g:www-data:rwx" tmp
use that feature. It currently is only tested with Internet Explorer 6
and Mozilla 1.x.
$cfg['QueryHistoryDB'] is set to TRUE, all your Queries are logged
to a table, which has to be created by you (see $cfg['Servers'][$i]['history']). If set to FALSE,
all your queries will be appended to the form, but only as long as
@@ -2237,11 +2237,11 @@ setfacl -d -m "g:www-data:rwx" tmp
uncheck the button whenever you definitely want the query window to
get updated even though you have made alterations.
$cfg['QueryHistoryDB'] is set to TRUE you can specify the amount of
+ saved history items using $cfg['QueryHistoryMax'].
$cfg['QueryWindowDefTab'] you can specify the
default tab to be used when opening the query window. It can be set to
either 'sql', 'files', 'history' or 'full'.'closed', the visual sliders are initially in a
+ closed state. A value of 'open' does the reverse. To completely
+ disable all visual sliders, use 'disabled'.$cfg array)
that users can't set through user preferences. For possible values, refer
- to libraries/config/user_preferences.forms.php.libraries/config/user_preferences.forms.php.cfg['ThemePath']).html|none]'none'.
em|px|pt|ex]
$cfg['SQP']['fmtInd'] you can change the amount of this indent.
+ $cfg['SQP']['fmtIndUnit'] which
specifies the units of the indent amount that you specified. This is
used via stylesheets."#...\n""-- ...\n""/*...*/""("")"",""." ";""@foo""'`anonymous
and any password, so we use those by default. Instead, if
you have an account with them, you can put your login details
here, and it will be used in place of the anonymous login.To enable transformations, you have to setup the column_info table +
To enable transformations, you have to setup the column_info table
and the proper directives. Please see the Configuration
section on how to do so.
[mimetype]_[subtype]__[transform].inc.phpPMA_transform_[mimetype]_[subtype]__[transform]()'.text_html__formatted.inc.phpPMA_transform_text_html__formatted()
[mimetype]__[transform].inc.phpPMA_transform_[mimetype]__[transform]()'.text__formatted.inc.phpPMA_transform_text__formatted()
[mimetype]_[subtype].inc.phptext_plain.inc.php[mimetype].inc.phptext.inc.phpglobal__[transform].inc.phpPMA_transform_global__[transform]()'.global__formattedPMA_transform_global__formatted()
So generally use '_' to split up mimetype and subtype, and '__' to provide a @@ -2621,9 +2621,9 @@ setfacl -d -m "g:www-data:rwx" tmp without a transform function.
To create a new transform function please see
- libraries/transformations/template_generator.sh.
+ libraries/transformations/template_generator.sh.
To create a new, empty mimetype please see
- libraries/transformations/template_generator_mimetype.sh.
libraries/transformations/template_generator_mimetype.sh.
A transform function always gets passed three variables:
@@ -2681,8 +2681,8 @@ setfacl -d -m "g:www-data:rwx" tmp cryptic characters to my browser, what can I do? Try to set the $cfg['OBGzip']
- directive to FALSE in your config.inc.php file and the
- zlib.output_compression directive to Off in your php
+ directive to FALSE in your config.inc.php file and the
+ zlib.output_compression directive to Off in your php
configuration file.
This seems to be a PWS bug. Filippo Simoncini found a workaround (at this
- time there is no better fix): remove or comment the DOCTYPE
+ time there is no better fix): remove or comment the DOCTYPE
declarations (2 lines) from the scripts libraries/header.inc.php,
libraries/header_printview.inc.php, index.php,
navigation.php and libraries/common.lib.php.
These features are based on the gzencode() and bzcompress() +
These features are based on the gzencode() and bzcompress()
PHP functions to be more independent of the platform (Unix/Windows, Safe Mode
or not, and so on). So, you must have Zlib/Bzip2
- support (--with-zlib and --with-bz2).
--with-zlib and --with-bz2). Your uploaded file is saved by PHP in the "upload dir", as
- defined in php.ini by the variable upload_tmp_dir (usually
+ defined in php.ini by the variable upload_tmp_dir (usually
the system default is /tmp).
We recommend the following setup for Apache servers running in safe mode,
to enable uploads of files while being reasonably secure:
mkdir /tmp/phpchown apache.apache /tmp/php
+ chmod 600 /tmp/phpupload_tmp_dir = /tmp/php in php.iniIn previous MySQL versions, the User and Passwordcolumns - were named user and password. Please modify your column +
In previous MySQL versions, the User and Passwordcolumns
+ were named user and password. Please modify your column
names to align with current standards.
The first things to check (or ask your host provider to check) are the
- values of upload_max_filesize, memory_limit and
- post_max_size in the php.ini configuration file.
+ values of upload_max_filesize, memory_limit and
+ post_max_size in the php.ini configuration file.
All of these three settings limit the maximum size of data that can be
submitted and handled by PHP. One user also said that
- post_max_size
- and memory_limit need to be larger than upload_max_filesize.
+ post_max_size
+ and memory_limit need to be larger than upload_max_filesize.
There exist several workarounds if your upload is too big or your
hosting provider is unwilling to change the settings:
source filename.sql.
In php.ini, set mysql.max_links higher than 1.
+ In php.ini, set mysql.max_links higher than 1.
This is most likely because in php.ini, your file_uploads +
This is most likely because in php.ini, your file_uploads
parameter is not set to "on".
This happens because the MySQL directive lower_case_table_names
- defaults to 1 (ON) in the Win32 version of MySQL. You can change
- this behavior by simply changing the directive to 0 (OFF):
- Just edit your my.ini file that should be located in your Windows
+
This happens because the MySQL directive lower_case_table_names
+ defaults to 1 (ON) in the Win32 version of MySQL. You can change
+ this behavior by simply changing the directive to 0 (OFF):
+ Just edit your my.ini file that should be located in your Windows
directory and add the following line to the group [mysqld]:
set-variable = lower_case_table_names=0@@ -2982,7 +2982,7 @@ setfacl -d -m "g:www-data:rwx" tmp message 'Errorcode: 13'. What does this mean?
This can happen due to a MySQL bug when having database / table names with
- upper case characters although lower_case_table_names is set to 1.
+ upper case characters although lower_case_table_names is set to 1.
To fix this, turn off this directive, convert all database and table names
to lower case and turn it on again. Alternatively, there's a bug-fix
available starting with MySQL 3.23.56 / 4.0.11-gamma.
AddType application/x-httpd-php .php
In the case we saw, one set of directives was in
- /etc/httpd/conf/httpd.conf, while
- the other set was in /etc/httpd/conf/addon-modules/php.conf.
- The recommended way is with AddType, so just comment out
+ /etc/httpd/conf/httpd.conf, while
+ the other set was in /etc/httpd/conf/addon-modules/php.conf.
+ The recommended way is with AddType, so just comment out
the first set of lines and restart Apache:
@@ -3038,14 +3038,14 @@ SetInputFilter PHPYes. This procedure was tested with phpMyAdmin 2.6.1, PHP 4.3.9 in ISAPI mode under IIS 5.1.
-
- In your php.ini file, set cgi.rfc2616_headers = 0
-- In Web Site Properties -> File/Directory Security -> Anonymous - Access dialog box, check the Anonymous access checkbox and - uncheck any other checkboxes (i.e. uncheck Basic authentication, - Integrated Windows authentication, and Digest if it's - enabled.) Click OK.
-- In Custom Errors, select the range of 401;1 through - 401;5 and click the Set to Default button.
+
- In your
+php.inifile, setcgi.rfc2616_headers = 0- In
+Web Site Properties -> File/Directory Security -> Anonymous + Accessdialog box, check theAnonymous accesscheckbox and + uncheck any other checkboxes (i.e. uncheckBasic authentication, +Integrated Windows authentication, andDigestif it's + enabled.) ClickOK.- In
Custom Errors, select the range of401;1through +401;5and click theSet to Defaultbutton.@@ -3055,8 +3055,8 @@ SetInputFilter PHP 1.34 Can I access directly to database or table pages?
Yes. Out of the box, you can use URLs like -http://server/phpMyAdmin/index.php?server=X&db=database&table=table&target=script. For server you use the server number which refers to -the order of the server paragraph in config.inc.php. +http://server/phpMyAdmin/index.php?server=X&db=database&table=table&target=script. For
serveryou use the server number which refers to +the order of the server paragraph inconfig.inc.php. Table and script parts are optional. If you want http://server/phpMyAdmin/database[/table][/script] URLs, you need to do some configuration. Following lines apply only for You can also disable the warning using the - SuhosinDisableWarning directive. +SuhosinDisableWarningdirective.@@ -3150,7 +3150,7 @@ RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L] but then my connection is redirected back to http. What can cause this behavior?
-Be sure that you have enabled SSLOptions and StdEnvVars +
Be sure that you have enabled
SSLOptionsandStdEnvVarsin your Apache configuration. See http://httpd.apache.org/docs/2.0/mod/mod_ssl.html#ssloptions.@@ -3185,7 +3185,7 @@ ProxyPassReverseCookiePath /%7Euser/phpmyadmin /mirror/foo privileges, I get an error about an unknown column.
The MySQL server's privilege tables are not up to date, you need to run -the mysql_upgrade command on the server.
+themysql_upgradecommand on the server.1.42 How can I prevent robots from accessing phpMyAdmin?
@@ -3225,10 +3225,10 @@ RewriteRule .* - [F]Edit your config.inc.php file and ensure there is nothing (I.E. no blank lines, no spaces, no characters...) neither before the - <?php tag at the beginning, neither after the ?> +
@@ -3263,7 +3263,7 @@ RewriteRule .* - [F]<?phptag at the beginning, neither after the?>tag at the end. We also got a report from a user under IIS, that used - a zipped distribution kit: the file libraries/Config.class.php + a zipped distribution kit: the filelibraries/Config.class.phpcontained an end-of-line character (hex 0A) at the end; removing this character cleared his errors.-
- First, you need to determine what socket is being used by MySQL.
To do this, telnet to your server and go to the MySQL bin directory. In this directory there should be a file named mysqladmin. Type - ./mysqladmin variables, and this should give you a bunch of +./mysqladmin variables, and this should give you a bunch of info about your MySQL server, including the socket (/tmp/mysql.sock, for example).- Then, you need to tell PHP to use this socket.
To do this in @@ -3287,7 +3287,7 @@ RewriteRule .* - [F] what can I do?Try to set the $cfg['OBGZip'] - directive to FALSE in the phpMyAdmin configuration file. It helps + directive to
FALSEin the phpMyAdmin configuration file. It helps sometime.
Also have a look at your PHP version number: if it contains "b" or "alpha" it means you're running a testing version of PHP. That's not a so good idea, @@ -3339,19 +3339,19 @@ RewriteRule .* - [F]
- make a new subdirectory (for example "your_theme_name") under $cfg['ThemePath'] - (by default themes)
+ (by defaultthemes)- copy the files and directories from "original" to "your_theme_name"
- edit the css-files in "your_theme_name/css"
- put your new images in "your_theme_name/img"
-- edit layout.inc.php in "your_theme_name"
-- edit info.inc.php in "your_theme_name" to +
- edit
+layout.inc.phpin "your_theme_name"- edit
info.inc.phpin "your_theme_name" to contain your chosen theme name, that will be visible in user interface- make a new screenshot of your theme and save it under "your_theme_name/screen.png"
In theme directory there is file info.inc.php which contains +
In theme directory there is file
info.inc.phpwhich contains theme verbose name, theme generation and theme version. These versions and generations are enumerated from 1 and do not have any direct dependence on phpMyAdmin version. Themes within same generation should be backwards @@ -3369,7 +3369,7 @@ RewriteRule .* - [F]Here are a few points to check:
-
- In config.inc.php, try to leave the +
@@ -3402,7 +3402,7 @@ RewriteRule .* - [F] have either the APC extension or the uploadprogress one. Moreover, the JSON extension has to be enabled in your PHP. -
- In
-config.inc.php, try to leave the $cfg['PmaAbsoluteUri'] directive empty. See also FAQ 4.7. @@ -3379,19 +3379,19 @@ RewriteRule .* - [F] http://bugs.php.net/bug.php?id=31134.- If you are using Hardened PHP with the ini directive varfilter.max_request_variables +
- If you are using Hardened PHP with the ini directive
-varfilter.max_request_variablesset to the default (200) or another low value, you could get this error if your table has a high number of columns. Adjust this setting accordingly. (Thanks to Klaus Dorninger for the hint).- In the php.ini directive arg_separator.input, a value +
- In the
php.inidirectivearg_separator.input, a value of ";" will cause this error. Replace it with "&;".- If you are using Hardened-PHP, you might want to increase request limits.
-- The directory specified in the php.ini directive session.save_path does not exist or is read-only. +
- The directory specified in the
php.inidirectivesession.save_pathdoes not exist or is read-only.If using APC, you must set apc.rfc1867 to on in your php.ini.
+If using APC, you must set
apc.rfc1867toonin your php.ini.Known limitations
@@ -3526,7 +3526,7 @@ have either the APC extension3.10 Homonyms and no primary key: When the results of a SELECT display more that one column with the same value - (for example SELECT lastname from employees where firstname like 'A%' and two "Smith" values are displayed), + (for example
SELECT lastname from employees where firstname like 'A%'and two "Smith" values are displayed), if I click Edit I cannot be sure that I am editing the intended row.Please make sure that your table has a primary key, so that phpMyAdmin @@ -3545,7 +3545,7 @@ have either the APC extension 3.12 (withdrawn).
- 3.13 I get an error when entering USE followed by a db name + 3.13 I get an error when entering
USEfollowed by a db name containing an hyphen.@@ -3630,7 +3630,7 @@ have either the APC extension
- - Your config.inc.php file should be chmod 660. + Your config.inc.php file should be
chmod 660.- All your phpMyAdmin files should be chown -R phpmy.apache, where phpmy @@ -3648,8 +3648,8 @@ have either the APC extension
Check php.ini, or ask your sysadmin to check it. The - include_path must contain "." somewhere in it, and - open_basedir, if used, must contain "." and +
@@ -3676,15 +3676,15 @@ have either the APC extensioninclude_pathmust contain "." somewhere in it, and +open_basedir, if used, must contain "." and "./lang" to allow normal operation of phpMyAdmin.Starting with 2.2.5, in the user management page, you can enter a wildcard database name for a user (for example "joe%"), and put the privileges you want. For example, - adding SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER + adding
SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTERwould let a user create/manage his/her database(s).4.6 How can I use the Host-based authentication additions?
If you have existing rules from an old .htaccess file, you can take them - and add a username between the 'deny'/'allow' and - 'from' strings. Using the username wildcard of '%' would + and add a username between the
'deny'/'allow'and +'from'strings. Using the username wildcard of'%'would be a major benefit here if your installation is suited to using it. Then you can just add those updated lines into the @@ -3718,7 +3718,7 @@ $cfg['Servers'][$i]['AllowDeny']['rules'] = array(4.8 Which parameters can I use in the URL that starts phpMyAdmin?
-When starting phpMyAdmin, you can use the db, pma_username, pma_password and server parameters. This last one can contain either the numeric host index (from $i of the configuration file) or one of the host names present in the configuration file. Using pma_username and pma_password has been tested along with the usage of 'cookie' auth_type.
+When starting phpMyAdmin, you can use the
db,pma_username,pma_passwordandserverparameters. This last one can contain either the numeric host index (from$iof the configuration file) or one of the host names present in the configuration file. Usingpma_usernameandpma_passwordhas been tested along with the usage of 'cookie'auth_type.Browsers or client OS
@@ -3862,8 +3862,8 @@ $cfg['Servers'][$i]['AllowDeny']['rules'] = array( Javascript errors. Or I cannot make phpMyAdmin work under Windows.Please check the following points:
-
- Maybe you have defined your PmaAbsoluteUri setting - in config.inc.php to an IP +
- Maybe you have defined your
@@ -3881,12 +3881,12 @@ $cfg['Servers'][$i]['AllowDeny']['rules'] = array( installed in their Firefox is causing the problem.PmaAbsoluteUrisetting + inconfig.inc.phpto an IP address and you are starting phpMyAdmin with a URL containing a domain name, or the reverse situation.-5.18 With Konqueror 4.2.x an invalid LIMIT +5.18 With Konqueror 4.2.x an invalid
LIMITclause is generated when I browse a table.This happens only when both of these conditions are met: using the - http authentication mode and register_globals being set - to On on the server. It seems to be a browser-specific problem; - meanwhile use the cookie authentication mode.
+httpauthentication mode andregister_globalsbeing set + toOnon the server. It seems to be a browser-specific problem; + meanwhile use thecookieauthentication mode.5.19 I get JavaScript errors in my browser.
@@ -3906,8 +3906,8 @@ to see if the problem goes away. Common errors include:-
- Using VARCHAR without a size argument
-- Using TEXT or BLOB with a size argument
+- Using
+VARCHARwithout a size argument- Using
TEXTorBLOBwith a size argumentAlso, look at the syntax chapter in the MySQL manual to confirm that your @@ -3975,7 +3975,7 @@ to see if the problem goes away.
6.6 How can I use the relation table in Query-by-example?Here is an example with the tables persons, towns and countries, all - located in the database mydb. If you don't have a pma_relation + located in the database mydb. If you don't have a
@@ -4175,8 +4175,8 @@ INSERT INTO REL_towns VALUES ('M', 'Montréal');pma_relationtable, create it as explained in the configuration section. Then create the example tables:To install PEAR SOAP module, run "pear install Net_Socket Net_URL - HTTP_Request Mail_Mime Net_DIME SOAP" to get the necessary SOAP module, run
@@ -4318,7 +4318,7 @@ INSERT INTO REL_towns VALUES ('M', 'Montréal'); For 100 values or more, a distinct window will appear, to browse foreign key values and choose one. To change the default limit of 100, see - $cfg['ForeignKeyMaxLimit']. +"pear install Net_Socket Net_URL + HTTP_Request Mail_Mime Net_DIME SOAP"to get the necessary PEAR modules for usage.$cfg['ForeignKeyMaxLimit'].6.22 Bookmarks: Can I execute a default bookmark @@ -4439,7 +4439,7 @@ INSERT INTO REL_towns VALUES ('M', 'Montréal');
Create a Zip archive with .shp and .dbf files and import it. For this to work, you need to set $cfg['TempDir'] to a - place where the web server user can write (for example './tmp'). + place where the web server user can write (for example
'./tmp').To create the temporary directory on a UNIX-based system, you can do:
@@ -4614,7 +4614,7 @@ the source and target corresponding tables.-The difference is depicted by the red and green buttons with S and D +The difference is depicted by the red and green buttons with
diff --git a/libraries/common.inc.php b/libraries/common.inc.php index c47e6ea6bd..7e48366e01 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -618,7 +618,7 @@ if ($GLOBALS['PMA_Config']->error_config_default_file) { trigger_error($error, E_USER_ERROR); } if ($GLOBALS['PMA_Config']->error_pma_uri) { - trigger_error(__('The $cfg[\'PmaAbsoluteUri\'] directive MUST be set in your configuration file!'), E_USER_ERROR); + trigger_error(__('TheSandDletters, indicating that either Structure or Data are not up to date. By clicking on them, they will turn grey, what means that they will be synchronized.$cfg[\'PmaAbsoluteUri\']directive MUST be set in your configuration file!'), E_USER_ERROR); } diff --git a/libraries/mult_submits.inc.php b/libraries/mult_submits.inc.php index 435eef8a5f..461c3eb620 100644 --- a/libraries/mult_submits.inc.php +++ b/libraries/mult_submits.inc.php @@ -295,7 +295,7 @@ if (!empty($submit_mult) && !empty($what)) { } echo __('Do you really want to execute following query?'); ?>: - +