Also folgendermassen, ich habe:
MySql v. 4.0.20
Apache 2.0.52
Win2000
MySql läuft soweit ohne problem.
Als ich zuerst probleme hatte MySql ueber das lokale Netzwerk zu erreichen stellte ich fest dass ich in der my.ini folgender wert vor lag:
bind-adress localhost
mit diesem wert war es nicht moeglich vom netzwerk aus zu connecten.
stellte ich den wert bind-adress auf den netzwerk rechner namen um (server) ging es.
nun wollte ich das ganze eben so machen dass ich nicht nur lokal drauf zugreifen kann, sondern eben auch ueber die public ip.
Leider kommt immer die fehler meldung dass er nicht connecten kann.
Can't connect to MySql server on "xxxx.dyndns.org" (10061)
Port 3306 wurde wurde fuer 192.168.0.10 (server) freigegeben.
Wenn ich einen port Test mache auf die public ip mit port 3306 dann sagt er mich der port ist offen wenn der MySql dienst laeuft.
Sobald ich nun den Mysql dienst abschalte ist der Port wieder geschlossen.
folgende My.ini liegt bei mir im WINNT verzeichnis vor:
- Code: Select all
#settings for winmysqladmin
[WinMySQLAdmin]
#change the server path if you want to use custom mysql daemon
Server=C:/mysql/bin/mysqld.exe
user = *****
password = ******
# This will be passed to all mysql clients
[client]
port=3306
user = ****
password = *****
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
[mysqldump]
quick
set-variable = max_allowed_packet=16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
set-variable = key_buffer=8M
set-variable = sort_buffer=8M
[myisamchk]
set-variable = key_buffer=8M
set-variable = sort_buffer=8M
[mysqlhotcopy]
interactive-timeout
# The MySQL server
[mysqld]
port=3306
default-character-set=latin1
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = thread_stack=128K
set-variable = flush_time=1800
slave-load-tmpdir = C:/temp
tmpdir = C:/temp
basedir = C:\mysql
datadir = C:\mysql\data
character-sets-dir = C:\mysql\share\charsets
log = C:\mysql\logs\myaccess.log
log-error = C:\mysql\logs\myerror.log
pid-file = C:\mysql\logs\mysql.pid
log-warnings
bind-address = server
# Comment the following if you want to use Berkley DB tables
skip-bdb
# Comment the following row if you want touse the InnoDb tables
skip-innodb
# Uncomment the following rows if you are using InnoDB tables
# Create the directories ibdata and iblogs before to start the server.
# If necessary, modify the size of the files
#innodb_log_group_home_dir = C:\mysql\iblogs
#innodb_data_file_path = ibdata1:200M
#innodb_data_home_dir = C:\mysql\ibdata
#innodb_flush_log_at_trx_commit=1
#innodb_log_arch_dir = C:\mysql\iblogs
#innodb_log_archive=0
#set-variable = innodb_mirrored_log_groups=1
#set-variable = innodb_log_files_in_group=3
#set-variable = innodb_log_file_size=30M
#set-variable = innodb_log_buffer_size=8M
#set-variable = innodb_buffer_pool_size=80M
#set-variable=lower_case_table_names =0
#set-variable = innodb_additional_mem_pool_size=10M
#set-variable = innodb_file_io_threads=4
#set-variable = innodb_lock_wait_timeout=50
habt ihr eine Idee woran es liegen kann?
Ich komme leider nicht mehr weiter , nach ca. 2 Tagen erfolglos im inet nach loesungen zu suchen.
Viele Gruesse und danke im vorraus
Marc