Показать полную графическую версию : не загрузить phpMyAdmin
почему то выводит ошибку:
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
в файле config.inc.php поставил только домен(не localhost), вот строчка:
$cfg['PmaAbsoluteUri'] = '';
вот эту версию:
phpMyAdmin-2.6.2-pl1
vadimiron
16-06-2005, 13:14
Вот вырезка из моего конфига, прочитайте внимательно и попробуйте так сделать:
/*Your phpMyAdmin url
*
* Complete the variable below with the full url ie
* http://www.your_web.net/path_to_your_phpMyAdmin_directory/
*
* It must contain characters that are valid for a URL, and the path is
* case sensitive on some Web servers, for example Unix-based servers.
*
* In most cases you can leave this variable empty, as the correct value
* will be detected automatically. However, we recommend that you do
* test to see that the auto-detection code works in your system. A good
* test is to browse a table, then edit a row and save it. There will be
* an error message if phpMyAdmin cannot auto-detect the correct value.
*
* If the auto-detection code does work properly, you can set to TRUE the
* $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
*/
$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);
/**
* Disable the default warning about $cfg['PmaAbsoluteUri'] not being set
* You should use this if and ONLY if the PmaAbsoluteUri auto-detection
* works perfectly.
*/
$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;
Спасибо, но теперь выводит другое сообщение:
#2003 - The server is not responding. (сервер не отвечает)
сервак конечно не мой, но работать на нем было рашрешено. че тогда он хочет?
jussepe
извините, а он вообще-то отвечает? я к тому, что в phpmyadmin вносится не какя-нибудь конфигурация, а пригодная для вашего конкретного случая. Руками Вы с mysql-сервером можете пообщаться?
© OSzone.net 2001-2012
vBulletin v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.