WampDeveloper Pro (by DeveloperSide.NET)
v4.2.0.3 - 05/18/13
WAMP: Windows + Apache + MySQL + PHP | Developer: That's You!![]()
$cfg['PmaAbsoluteUri'] = '';
http://localhost/phpMyAdmin/
(note that double logins and browser errors will occur if user accesses URL 'http://127.0.0.1/phpMyAdmin/')
http://local.ip.address.of-system/phpMyAdmin/
$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;
$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root-password';
(note password 'root-password'; substitute in set password for MySQL user 'root'; if no password set, leave as blank)
$cfg['Servers'][$i]['auth_type'] = 'http';$cfg['Servers'][$i]['user'] = '';$cfg['Servers'][$i]['password'] = '';$cfg['Servers'][$i]['controluser'] = 'pma';$cfg['Servers'][$i]['controlpass'] = 'pmapass';
(note MySQL user 'pma' and password 'pmapass'; will create in next step)
C:\www\mysql\bin> mysql -u root -pmysql> GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapass';
(note password 'pmapass')mysql> GRANT SELECT (Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv, Execute_priv, Repl_slave_priv, Repl_client_priv) ON mysql.user TO 'pma'@'localhost';
(note that this query is too large to be pasted into the mysql command line in its entirety; select half, copy/paste, press enter, copy/paste other half)mysql> GRANT SELECT ON mysql.db TO 'pma'@'localhost';mysql> GRANT SELECT ON mysql.host TO 'pma'@'localhost';mysql> GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv) ON mysql.tables_priv TO 'pma'@'localhost';mysql> quit
Note that this step is only required for PHP 5. Under PHP 4, PHP extension php_mysql.dll is build in and extension php_mysqli is not supported.
;extension=php_mbstring.dll;extension=php_mysql.dll;extension=php_mysqli.dll$cfg['Servers'][$i]['extension'] = 'mysqli';
Note that this step requires "Authentication Method -- for multi-user (untrusted) environment"
$cfg['Servers'][$i]['controluser'] = 'pma';$cfg['Servers'][$i]['controlpass'] = 'pmapass';$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';$cfg['Servers'][$i]['relation'] = 'pma_relation';$cfg['Servers'][$i]['table_info'] = 'pma_table_info';$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';$cfg['Servers'][$i]['column_info'] = 'pma_column_info';$cfg['Servers'][$i]['history'] = 'pma_history';$cfg['Servers'][$i]['tracking'] = 'pma_tracking';$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
C:\www\mysql\bin> mysql -u root -p
mysql> source C:\www\phpMyAdmin\scripts\create_tables.sqlGRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.* TO 'pma'@'localhost';mysql> quit