форум вебмастероff на AlfaSpace.NET

Ubuntu и Linux |реактивный бесплатный хостинг | Киноклуб. ВСЁ БЕСПЛАТНО!
база знаний хостинга | правила форума

  Начало ° Ответить ° Статистика ° Опрос ° Регистрация ° Поиск ° FAQ °
Форум вебмастеров на AlfaSpace.NET / Создание сайта / phpMyAdmin И как её установить!!!!!
Автор Сообщение
s007s
Участник

491
# Дата: 25 Янв 2005 08:25


Внимание читать всем!!!
Все устанавливают эту phpMyAdmin и забывают о БЕЗОПАСНОСТИ!!! Вы устанавливаете её так чтобы все могли её посматреть и украсть пароли или испортить много чего!!!!!! Дак а какже ее настроит ВЫ спросите меня? А я отвечу!!! Во часть от конфига >>> (config.inc.php)
<?php
/* $Id: config.inc.php,v 2.41 2004/09/23 10:10:37 rabus Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:

/**
* phpMyAdmin Configuration File
*
* All directives are explained in Documentation.html
*/


/**
* Sets the php error reporting - Please do not change this line!
*/
if (!isset($old_error_reporting)) {
error_reporting(E_ALL);
@ini_set('display_errors', '1');
}


/**
* 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'] = 'СЮДА URL ВАШЕГО САЙТА ДО phpMyAdmin пример: http://1.alfaspace.net/phpMyAdmin/';


/**
* 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;

/**
* Disable the default warning that is displayed on the DB Details Structure page if
* any of the required Tables for the relationfeatures could not be found
*/
$cfg['PmaNoRelation_DisableWarning'] = FALSE;

/**
* The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
* at least one server configuration uses 'cookie' auth_type, enter here a
* passphrase that will be used by blowfish.
*/
$cfg['blowfish_secret'] = '';

/**
* Server(s) configuration
*/
$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]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$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]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = ''; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
// this db is displayed in left frame
// It may also be an array of db-names, where sorting order is relevant.
$cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname

Во её и надо гледеть =) смотрите все как у меня и делайте также!!! Поля с Username и Password пусты!!! Тоесть когда вы попытаетесь зайти в phpMyAdmin то у вас попросит аундификацию!!!

Админ зафиксируй эту тему!!!

s007s
Участник

491
# Дата: 25 Янв 2005 08:26


Да чуть не забыл эти поля надо тока подправить а не запихивать все в свой конфиг :D

Tradition
Участник

418
# Дата: 8 Фев 2005 16:41


Ксати, ведь не обязательно использовать пхпМайАдмин, есть такая прога как MySQL-Front к тому же русиш, вот только как с неё конектиться к базе? Я пробовал, конект есть, только пишет, что я либо не имею права с данного IP конектится, либо ввёл неверный имя/пароль. И как с этим быть?
Или надо поставить типа putty.exe и конектится через неё к базе? Если через неё, то это охренеешь пока что-либо сотворишь.

s007s
Участник

491
# Дата: 8 Фев 2005 16:58


Все выходы/входы из вне (то есть из интернета) закрыты!!!

help
Техпомощь

1251
# Дата: 9 Фев 2005 02:15 ° Поправил: help


К MySQL на нашем хосте можно подключаться только из скриптов, запускаемых с нашего же хоста. Это сделано, чтобы наш хостинг использовалься только как MySQL-сервер
А phpMyAdmin для всех установлен здесь: http://alfaspace.net/mysql/
Поэтому не стоит париться с установкой и настройкой его на своем сайте

deut
Участник

117
# Дата: 10 Фев 2005 16:00


Спасибо Хелпу за разъяснения!!

Anonymous


# Дата: 14 Фев 2005 19:37


Людии... А можно поставить вторую базу для одного сайта?
для движка сайта и форума отдельно например::??

admin
powered by admin

7227
# Дата: 14 Фев 2005 20:15


Людии... А можно поставить вторую базу для одного сайта?
для движка сайта и форума отдельно например::??


пиши запрос на help@alfaspace.net

Mafia382
Участник

25
# Дата: 17 Авг 2005 03:15


К MySQL на нашем хосте можно подключаться только из скриптов, запускаемых с нашего же хоста. Это сделано, чтобы наш хостинг использовалься только как MySQL-сервер
А phpMyAdmin для всех установлен здесь: http://alfaspace.net/mysql/
Поэтому не стоит париться с установкой и настройкой его на своем сайте

А почему именно так?!
А как - с FreSQL?
help-[AKA-Техпомощь] Вы уж разьясните народу, чтобы тупые вопросы не задавались. Или разместите в базе знаний

Ваш ответ

Quote  Bold Style  Italic Style  Underlined Style  URL Link  Email Link  Script AutoTab  Preformatted Text  Отменить *Что это?
... Запретить смайлы


Перед отправкой "нелатинского" текста проверьте кодировку броузера!
 » Логин  » Пароль 
 
Powered by miniBB forum software © 2001-2008
Powered by miniBB-gzipper. Original size:30512, gzipped size:10035

Mp3 Download || Мир Спанч боба || Song's Lyrics
eXTReMe Tracker Rambler's Top100 Рейтинг@Mail.ru Форум ТвойWeb [Valid RSS]