Форум программистов, компьютерный форум, киберфорум
PHP для начинающих
Войти
Регистрация
Восстановить пароль
Карта форума Темы раздела Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.73/15: Рейтинг темы: голосов - 15, средняя оценка - 4.73
Веб-мастер
89 / 89 / 19
Регистрация: 11.08.2011
Сообщений: 674
1

Клиенты смогут заходить в phpMyAdmin на Denwer 3?

16.06.2012, 15:40. Показов 2925. Ответов 4
Метки нет (Все метки)

Author24 — интернет-сервис помощи студентам
Решил попробовоть Denwer после WAMP, и после установки ясно видно что любой пользователь сможет зайти в phpMyAdmin. Потому что phpMyAdmin находится по двум адресам:

Да, ссылки почьти одинаковы, регистр букв в названии папки phpMyAdmin разные, и по этим двум ссылкам разные PMA.

Файлы для сайта поидее находятся по такому адресу: http://localhost/ ...

Значит получается любой кто введет /Tools/phpMyAdmin или /Tools/phpmyadmin попадет в PMA?

Добавлено через 1 минуту
Заметил вот что:

Один PMA тут: C:\WebServers\home\localhost\www\Tests\phpMyAdmin

Другой тут: C:\WebServers\home\localhost\www\Tools\phpmyadmin

В первой ссылке только index.html
0
Programming
Эксперт
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
16.06.2012, 15:40
Ответы с готовыми решениями:

Denwer - phpMyAdmin
Сильно не пинайте за глупые вопросы. Установил Денвер. http://http://localhost/denwer/ заработал....

Denwer И phpmyadmin тупят!
Такая проблема.... в установочном окне денвера русские символы заменены на каракули... но это пол...

Не работает PhpMyAdmin (Denwer)
Здравствуйте! Перестал работать PhpMyAdmin, при загрузке пишет: #1045 - Access denied for user...

ошибка 1045 phpmyadmin в Denwer
в гугле много информации, но конкретного решения нет. как запустить? Прикрепляйте файлы и...

4
238 / 235 / 43
Регистрация: 16.03.2011
Сообщений: 750
16.06.2012, 16:51 2
Зайти как http:// Айпи в сети/Tools/phpMyAdmin/.
localhost\www\Tools\phpmyadmin\config.inc.php
Код
$cfg['Servers'][$i]['auth_type'] = 'config';
меняем на
Код
$cfg['Servers'][$i]['auth_type'] = 'cookie';
также устанавливаем пароль
Код
$cfg['Servers'][$i]['password'] = '';
0
Веб-мастер
89 / 89 / 19
Регистрация: 11.08.2011
Сообщений: 674
16.06.2012, 17:00  [ТС] 3
r36, почти получилось. Только вот пароль написал, но ошибка какаято. Пароль ввожу и логин верно.

Код
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'qwerty123456';
Только вот пароль не ввел и зашло.
0
238 / 235 / 43
Регистрация: 16.03.2011
Сообщений: 750
16.06.2012, 17:03 4
Ещё это
$cfg['Servers'][$i]['nopassword'] булево выражение
Разрешает попытку авторизироваться без пароля, в случае неудачной авторизации с использованием пароля. Эта опция может использоваться совместно с http-аутентификацией, когда phpMyAdmin использует имя пользователя из 'user', а пароль для соединения с MySQL пустой. Сначала осуществляется попытка авторизации с использованием пароля, если она завершается неудачно - осуществляется попытка подключения к MySQL-серверу без пароля.
http://php-myadmin.ru/doc/config.html
0
Веб-мастер
89 / 89 / 19
Регистрация: 11.08.2011
Сообщений: 674
16.06.2012, 17:10  [ТС] 5
Такой строки нету.

PHP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * phpMyAdmin sample configuration, you can use it as base for
 * manual configuration. For easier setup you can use setup/
 *
 * All directives are explained in Documentation.html and on phpMyAdmin
 * wiki <http://wiki.phpmyadmin.net>.
 *
 * @package PhpMyAdmin
 */
 
/*
 * This is needed for cookie based authentication to encrypt password in
 * cookie
 */
$cfg['blowfish_secret'] = 'a8b7c6d'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
 
/*
 * Servers configuration
 */
$i = 0;
 
/*
 * First server
 */
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
 
/*
 * phpMyAdmin configuration storage settings.
 */
 
/* User used to manipulate with storage */
$cfg['Servers'][$i]['controlhost'] = 'localhost';
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = '';
 
/* Storage database and tables */
$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]['table_uiprefs'] = 'pma_table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
$cfg['Servers'][$i]['recent'] = 'pma_recent';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
 
/*
 * End of servers configuration
 */
 
/*
 * Directories for saving/loading files from server
 */
$cfg['UploadDir'] = '/tmp';
$cfg['SaveDir'] = '/tmp';
 
/**
 * Defines whether a user should be displayed a "show all (records)"
 * button in browse mode or not.
 * default = false
 */
//$cfg['ShowAll'] = true;
 
/**
 * Number of rows displayed when browsing a result set. If the result
 * set contains more rows, "Previous" and "Next".
 * default = 30
 */
//$cfg['MaxRows'] = 50;
 
/**
 * Use graphically less intense menu tabs
 * default = false
 */
//$cfg['LightTabs'] = true;
 
/**
 * disallow editing of binary fields
 * valid values are:
 *   false  allow editing
 *   'blob' allow editing except for BLOB fields
 *   'all'  disallow editing
 * default = blob
 */
//$cfg['ProtectBinary'] = 'false';
 
/**
 * Default language to use, if not browser-defined or user-defined
 * (you find all languages in the locale folder)
 * uncomment the desired line:
 * default = 'en'
 */
$cfg['DefaultLang'] = 'ru';
//$cfg['DefaultLang'] = 'de';
 
/**
 * default display direction (horizontal|vertical|horizontalflipped)
 */
//$cfg['DefaultDisplay'] = 'vertical';
 
 
/**
 * How many columns should be used for table display of a database?
 * (a value larger than 1 results in some information being hidden)
 * default = 1
 */
//$cfg['PropertiesNumColumns'] = 2;
 
/**
 * Set to true if you want DB-based query history.If false, this utilizes
 * JS-routines to display query history (lost by window close)
 *
 * This requires configuration storage enabled, see above.
 * default = false
 */
//$cfg['QueryHistoryDB'] = true;
 
/**
 * When using DB-based query history, how many entries should be kept?
 *
 * default = 25
 */
//$cfg['QueryHistoryMax'] = 100;
 
/*
 * You can find more configuration options in Documentation.html
 * or here: http://wiki.phpmyadmin.net/pma/Config
 */
?>
0
16.06.2012, 17:10
IT_Exp
Эксперт
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
16.06.2012, 17:10
Помогаю со студенческими работами здесь

(Denwer) PhpMyAdmin и ошибка #1130?
В который раз пытаюсь достучаться до phpmyadmin (denwer v.3), но вот ответ получаю одно и то же: ...

Dreamweaver + denwer + phpmyadmin = неправильная кодировкой
Всем привет. Возникла такая проблема. Создаю php файл в дримвивере (кодировка utf-8 или...

После установки MySQL WorkBench перестал запускаться phpMyAdmin из набора Denwer
После установки MySQL WorkBench перестал запускаться phpMyAdmin из набора Denwer, выдает вот что: ...

Связь клиенты-сервер-клиенты (Animate CC)
Сделал небольшое приложение для Андроид в Animate CC. Нужно, чтобы ВСЕ пользователи приложения...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
5
Ответ Создать тему
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2024, CyberForum.ru