回答編集履歴
2
接続先IP間違い修正
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
Bから上記ユーザーを使って接続します。
|
22
22
|
|
23
|
-
mysql_connect('192.168.1.1
|
23
|
+
mysql_connect('192.168.1.13','b_user','password') or die(mysql_error());
|
24
24
|
|
25
25
|
|
26
26
|
|
1
URLリンク設定
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
mysqli_connect()を使うべきです。
|
30
30
|
|
31
|
-
http://php.net/manual/ja/function.mysqli-connect.php
|
31
|
+
[http://php.net/manual/ja/function.mysqli-connect.php](http://php.net/manual/ja/function.mysqli-connect.php)
|
32
32
|
|
33
33
|
|
34
34
|
|