The network is connected, because in the same host, local connection to the MySQL server, and the operating environment regardless of the Php,python connection database has this situation
Tips
Can ' t connect to MySQL server on ' localhost '
The following is the contents of the My.ini file, which has omitted annotations
[client]port=3306[mysql]default-character-set=utf8[mysqld]port=3306basedir= "e:/mysql/" datadir= "e:/mysql/data/" Default-character-set=utf8default-storage-engine=myisamsql-mode= "Strict_trans_tables,no_auto_create_user,no_ Engine_substitution "max_connections=5000query_cache_size=52mtable_cache=4100tmp_table_size=64mthread_cache_ Size=64myisam_max_sort_file_size=100gmyisam_sort_buffer_size=80mkey_buffer_size=256mread_buffer_size=64kread_ Rnd_buffer_size=256ksort_buffer_size=16mskip-innodbinnodb_additional_mem_pool_size=2minnodb_flush_log_at_trx_ commit=1innodb_log_buffer_size=1minnodb_buffer_pool_size=8minnodb_log_file_size=10minnodb_thread_concurrency= 18wait_timeout=28800thread_concurrency=4skip-lockinglog-slow-queries = Slow.loglong_query_time = 1max_connections = 1000max_allowed_packet = 32minteractive_timeout = 28800
Reply content:
The network is connected, because in the same host, local connection to the MySQL server, and the operating environment regardless of the Php,python connection database has this situation
Tips
Can ' t connect to MySQL server on ' localhost '
The following is the contents of the My.ini file, which has omitted annotations
[client]port=3306[mysql]default-character-set=utf8[mysqld]port=3306basedir= "e:/mysql/" datadir= "e:/mysql/data/" Default-character-set=utf8default-storage-engine=myisamsql-mode= "Strict_trans_tables,no_auto_create_user,no_ Engine_substitution "max_connections=5000query_cache_size=52mtable_cache=4100tmp_table_size=64mthread_cache_ Size=64myisam_max_sort_file_size=100gmyisam_sort_buffer_size=80mkey_buffer_size=256mread_buffer_size=64kread_ Rnd_buffer_size=256ksort_buffer_size=16mskip-innodbinnodb_additional_mem_pool_size=2minnodb_flush_log_at_trx_ commit=1innodb_log_buffer_size=1minnodb_buffer_pool_size=8minnodb_log_file_size=10minnodb_thread_concurrency= 18wait_timeout=28800thread_concurrency=4skip-lockinglog-slow-queries = Slow.loglong_query_time = 1max_connections = 1000max_allowed_packet = 32minteractive_timeout = 28800
Link parameters try 127.0.0.1