From 34a02438bee5565af27acd8ccd2708c76cfd243b Mon Sep 17 00:00:00 2001
From: Marc Delisle
- Alternatively, this setting can be dynamically completed. For example,
- you can try to use such a kind of code:
-
-$cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
- . $_SERVER['HTTP_HOST']
- . (!empty($_SERVER['SERVER_PORT']) ? ':' . $_SERVER['SERVER_PORT'] : '')
- . substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/')+1);
-
- or
-
-$cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
- . $_SERVER['SERVER_NAME']
- . (!empty($_SERVER['SERVER_PORT']) ? ':' . $_SERVER['SERVER_PORT'] : '')
- . substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/')+1);
-
-
CREATE DATABASE phpmyadmin;
+ If using MySQL 4.1.2 or later, use instead:
+ CREATE DATABASE phpmyadmin DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
Note that "controluser" must have
SELECT, INSERT, UPDATE and DELETE
privileges on this database. Here is a query to set up
@@ -856,9 +843,9 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
or embedded within the header of table in browse view. They can also be shown
in a table dump. Please see the relevant configuration directives later on.
- Also new in release 2.5.0 is a mime-transformation system which is also based on
+ Also new in release 2.5.0 is a MIME-transformation system which is also based on
the following table structure. See Transformations
- for further information. To use the mime-transformation system, your column_info
+ for further information. To use the MIME-transformation system, your column_info
table has to have the three new fields 'mimetype', 'transformation', 'transformation_options'.
To allow the usage of this functionality the superuser has to:
@@ -2079,7 +2066,7 @@ called 'MIME-type', 'Browser transformation' and 'Transformation options'.