View Full Version : mysqldn-t --install and mysqldn-t --standalone
jdholtman
05-11-2003, 12:14 PM
Hi,
I've got a problem installing mysql as a service under Windows XP. When i start mysql with mysqldn-t --standalone everything works perfect, but when i start mysql as a service i get the following error: "ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)".
Anybody can help me?
I'm using phpdev 4 which is installed in c:\phpdev.
Welcome here.
I think you can find most help on this overhere:
http://www.firepages.com.au/forum
jdholtman
05-17-2003, 02:34 PM
I found the solution:
Create a file 'my.cnf' in the directory c:\
Put the next content in the file:
---------------------------------
# Example mysql config file.
# Copy this file to c:\my.cnf to set global options
#
# One can use all long options that the program supports.
# Run the program with --help to get a list of available options
# This will be passed to all mysql clients
[client]
#password=my_password
port=3306
#socket=MySQL
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
# The MySQL server
[mysqld]
port=3306
#socket=MySQL
skip-locking
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
# Uncomment the following rows if you move the MySQL distribution to another
# location
basedir = C:/phpdev/mysql/
datadir = C:/phpdev/mysql/data/
# 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_data_file_path = ibdata1:200M
#innodb_data_home_dir = c:\ibdata
#set-variable = innodb_mirrored_log_groups=1
#innodb_log_group_home_dir = c:\iblogs
#set-variable = innodb_log_files_in_group=3
#set-variable = innodb_log_file_size=30M
#set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1
#innodb_log_arch_dir = c:\iblogs
#innodb_log_archive=0
#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
# Uncomment the following row if you are using a Max server and you don't want the
# InnoDb tables
#skip-innobd
[mysqldump]
quick
set-variable = max_allowed_packet=16M
[mysql]
no-auto-rehash
[isamchk]
set-variable= key=16M
[client_fltk]
#help_file= c:\mysql\sql_client\MySQL.help
#client_file= c:\mysql\MySQL.options
#history_length=20
#database = test
#queries_root= c:\mysql\queries
#last_database_file= c:\mysql\lastdb
---------------------------------
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.