質問編集履歴

2

追加

2018/05/02 00:53

投稿

freezaa
freezaa

スコア12

test CHANGED
File without changes
test CHANGED
@@ -16,6 +16,114 @@
16
16
 
17
17
 
18
18
 
19
+ phpmyadmin/config.inc.phpの中身は以下のようになっています。
20
+
21
+
22
+
23
+ /* Configure according to dbconfig-common if enabled */
24
+
25
+ if (!empty($dbname)) {
26
+
27
+ /* Authentication type */
28
+
29
+ $cfg['Servers'][$i]['auth_type'] = 'cookie';
30
+
31
+ /* Server parameters */
32
+
33
+ if (empty($dbserver)) $dbserver = 'localhost';
34
+
35
+ $cfg['Servers'][$i]['host'] = $dbserver;
36
+
37
+
38
+
39
+ if (!empty($dbport) || $dbserver != 'localhost') {
40
+
41
+ $cfg['Servers'][$i]['connect_type'] = 'tcp';
42
+
43
+ $cfg['Servers'][$i]['port'] = $dbport;
44
+
45
+ }
46
+
47
+ //$cfg['Servers'][$i]['compress'] = false;
48
+
49
+ /* Select mysqli if your server has it */
50
+
51
+ $cfg['Servers'][$i]['extension'] = 'mysqli';
52
+
53
+ /* Optional: User for advanced features */
54
+
55
+ $cfg['Servers'][$i]['controluser'] = $dbuser;
56
+
57
+ $cfg['Servers'][$i]['controlpass'] = $dbpass;
58
+
59
+ //$cfg['Servers'][$i]['compress'] = false;
60
+
61
+ /* Select mysqli if your server has it */
62
+
63
+ $cfg['Servers'][$i]['extension'] = 'mysqli';
64
+
65
+ /* Optional: User for advanced features */
66
+
67
+ $cfg['Servers'][$i]['controluser'] = $dbuser;
68
+
69
+ $cfg['Servers'][$i]['controlpass'] = $dbpass;
70
+
71
+ /* Optional: Advanced phpMyAdmin features */
72
+
73
+ $cfg['Servers'][$i]['pmadb'] = $dbname;
74
+
75
+ $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
76
+
77
+ $cfg['Servers'][$i]['relation'] = 'pma__relation';
78
+
79
+ $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
80
+
81
+ $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
82
+
83
+ $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
84
+
85
+ $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
86
+
87
+ $cfg['Servers'][$i]['history'] = 'pma__history';
88
+
89
+ $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
90
+
91
+ $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
92
+
93
+ $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
94
+
95
+ $cfg['Servers'][$i]['recent'] = 'pma__recent';
96
+
97
+ $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
98
+
99
+ $cfg['Servers'][$i]['users'] = 'pma__users';
100
+
101
+ $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
102
+
103
+ $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
104
+
105
+ $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
106
+
107
+ $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
108
+
109
+ $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
110
+
111
+ $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
112
+
113
+ /* Optional: Advanced phpMyAdmin features */
114
+
115
+ $cfg['Servers'][$i]['pmadb'] = $dbname;
116
+
117
+ $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
118
+
119
+ $cfg['Servers'][$i]['relation'] = 'pma__relation';
120
+
121
+ $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
122
+
123
+
124
+
125
+
126
+
19
127
  パスワードも以前コマンドでログインできていたのですがログインできなくなりました。
20
128
 
21
129
  ずっと考えて色々検索してみましたが対処方法が分かりませんでした。

1

書式の改善

2018/05/02 00:53

投稿

freezaa
freezaa

スコア12

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,7 @@
1
+ VPSサーバーを使用しています。
2
+
3
+
4
+
1
5
  下記の記事を参考にUbuntu 16.04にphpmyadminをインストールしました。
2
6
 
3
7
  https://www.server-world.info/query?os=Ubuntu_16.04&p=mariadb&f=2