Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Вебмастеру (http://forum.oszone.net/forumdisplay.php?f=22)
-   -   не загрузить phpMyAdmin (http://forum.oszone.net/showthread.php?t=50582)

jussepe 15-06-2005 15:01 333225

не загрузить 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 333529

Вот вырезка из моего конфига, прочитайте внимательно и попробуйте так сделать:
PHP код:

/*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'], 0strrpos($_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


jussepe 16-06-2005 16:11 333571

Спасибо, но теперь выводит другое сообщение:
#2003 - The server is not responding. (сервер не отвечает)
сервак конечно не мой, но работать на нем было рашрешено. че тогда он хочет?

mar 16-06-2005 17:30 333592

jussepe
извините, а он вообще-то отвечает? я к тому, что в phpmyadmin вносится не какя-нибудь конфигурация, а пригодная для вашего конкретного случая. Руками Вы с mysql-сервером можете пообщаться?


Время: 06:22.

Время: 06:22.
© OSzone.net 2001-