![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Below is my my.cnf. In this configuration I had wanted to use mysql and my web server on an outside IP but I discovered I can't because I have a software IP name, loopback from dyndns instead of a static IP number from AT&T. So now I want to change it back to being how it should be for localhost testing only. This configuration didn't work becuase you can't use a named host in mysql only an IP address. Let me know if that changed for MySQL 5.5 . It seems that you should be able to have a person hit the web server from the outside through the DYNDNS account and the port forwards to the localhost so anyway? thanks. user= root pid-file = /var/run/mysqld.pid port = 3306 tmpdir = /tmp bind-address = 99.40.53.42 basedir=/usr/local/mysql datadir=/usr/local/mysql-5.0.77-osx10.4-powerpc/data sort_buffer_size=2M default-storage-engine=myisam [client] socket=/tmp/mysql.sock |
#3
| |||
| |||
|
|
On Thu, 21 Apr 2011 18:07:35 -0700 (PDT), jrough wrote: Below is my my.cnf. In this configuration I had wanted to use mysql and my web server on an outside IP but I discovered I can't because I have a software IP name, loopback from dyndns instead of a static IP number from AT&T. So now I want to change it back to being how it should be for localhost testing only. This configuration didn't work becuase you can't use a named host in mysql only an IP address. Let me know if that changed for MySQL 5.5 . It seems that you should be able to have a person hit the web server from the outside through the DYNDNS account and the port forwards to the localhost so anyway? thanks. user= root pid-file = /var/run/mysqld.pid port = 3306 tmpdir = /tmp bind-address = 99.40.53.42 basedir=/usr/local/mysql datadir=/usr/local/mysql-5.0.77-osx10.4-powerpc/data sort_buffer_size=2M default-storage-engine=myisam [client] socket=/tmp/mysql.sock The answer is remove the above line that has *anything* to do with an IP address. You almost had it in your grasp this time! |
#4
| |||
| |||
|
|
On 4/21/2011 11:10 PM, Peter H. Coffin wrote: The answer is remove the above line that has *anything* to do with an IP address. You almost had it in your grasp this time! Yea, but then *anyone* can get access to her database. Not a good idea if you want to restrict that access, i.e. for security reasons, which is what I think she's doing. |
![]() |
| Thread Tools | |
| Display Modes | |
| |