2014-01-04 09:06:46 +0000 2014-01-04 09:06:46 +0000
3
3
Advertisement

wampサーバーのデフォルトユーザー/パスワードにphpmyadminへのログインを設定するには?

Advertisement

私はデータベースを作成するためにwampサーバーにログインする必要があることを理解しています。私の問題は、phpmyadminページがログインを求めずに開いてしまうことです。ですから、私はログインしていないと思います。もしそうなら、ログアウトする方法がわかりません。私はこれが非常に基本的なことであることを知っていますが、私はここで立ち往生しています。どんなアドバイスもありがとうございます。

Advertisement
Advertisement

回答 (3)

3
3
3
2014-01-04 09:26:26 +0000

デフォルトのユーザ名は “root "で、パスワードは” (空か空)です。

if u want to know the password to go to wamp installation path ♪\apps for example C:\wamp\apps\phpmyadmin2.10.1 in this path u can fine the file named ‘config.inc.php’ open that file with any text editor and search for $cfg[‘Servers’][$i][‘password’] the password had been stored in this variable.

https://stackoverflow.com/questions/4420894/wamp-server-mysql-user-id-and-password も確認してください。

1
1
1
2016-07-11 14:12:40 +0000

ウィンドウ上のWampディレクトリに移動して、wamp内のappsフォルダにあるphpmyadminをチェックしてください。

D:\wamp\apps\phpmyadmin4.1.14

config.inc.phpを開いて28行目に進みます。

新しいパスワードを入れるか、必要に応じて削除してください。

/* Authentication type ¶*/

$cfg[‘Servers’][$i][‘verbose’] = ‘mysql wampserver’; //$cfg[‘Servers’][$i][‘authtype’] = ‘cookie’.
$cfg[‘Servers’][$i][‘auth\
type’] = ‘config’; $cfg[‘Servers’][$i][‘user’] = ‘root’; $cfg[‘Servers’][$i][‘password’] = “.

0
Advertisement
0
0
2014-01-04 10:02:43 +0000
Advertisement

また、私がお勧めできるのは、 http://www.phpmyadmin.net から最新のphpMyAdminをダウンロードすることです。
それからフォルダを解凍してC:\wamp\phpMyAdmin-4.1.3-all-languages それから

[http://localhost/phpMyAdmin-4.1.3-all-languages/index.php](http://localhost/phpMyAdmin-4.1.3-all-languages/index.php)
   now it should only ask you for username (root) and password (blank/none/empty)
``` を起動してください。
Advertisement