Тема: Работа под HTML5 Builder Embarcadero
Здравствуйте!
Первый раз на Вашем форуме. И, если можно, вопрос.
У меня стоит HTML5 Builder и работаю с ним под SQL Server. Теперь хочу работать под MySQL.
1. Я установил MySQL. Все нормально. Теперь хочу установить PHPMyADMIN.
2. Скачал ее. Далее по Вашей инструкции. Поместил папку PhpMyadmin на www.
3. Отредактировал файл
$i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'topdon'; // MySQL password (only needed
// with 'config' auth_type)
Теперь файл httpd.conf
<IfModule mod_alias.c>
# Обратите внимание, что если вы включаете завершающий слэш в
# "псевдоним", то сервер потребует его присутствия и в URL. Так,
# /icons не будет разыменован в данном примере, только /icons/.
#
Alias /icons/ "/usr/local/apache/icons/"
Alias /pma "C:/apache/localhost/www/phpmyadmin"
......
</IfModule>
Дальше не знаю, что делать. Прошу Вашей помощи.