[Wine] No connection to mysqld

Martin Gregorie martin at gregorie.org
Sun Feb 27 12:40:51 CST 2011


On Sun, 2011-02-27 at 12:10 -0600, jheid wrote:
> I'm using the following command 
> 
> wine mysqld.exe -O lower_case_table_names=0 --lower_case_table_names=0
> --innodb_data_file_path=ibdata1:100M --innodb_data_home_dir=Z:\
> \mysql-win-demo\\data\\ibdata --innodb_log_group_home_dir=Z:\
> \mysql-win-demo\\data\\ibdata\\log --innodb_mirrored_log_groups=1
> --innodb_log_files_in_group=3 --innodb_log_file_size=5M
> --innodb_log_buffer_size=8M --innodb_flush_log_at_trx_commit=1
> --innodb_buffer_pool_size=16M --innodb_additional_mem_pool_size=2M
> --innodb_file_io_threads=4 --innodb_lock_wait_timeout=50
> --master-port=8808 --port 8808 --default-character-set=latin1
> --basedir=Z:\\mysql-win-demo --datadir=Z:\\mysql-win-demo\\data
> --console --standalone --bind-address=127.0.0.1
>
> with mysql-5.1.55-win32.zip. I haven't edited any configuration file.
> 
You'd save a lot of typing by putting most of these in a configuration
file, my.cnf, any putting that in C:\my.cnf or in the same directory as
mysqld.exe.

Try adding a line containing "hostname=localhost" to the configuration
file.
 
> This works in a DOS shell but not with my Ubuntu....
> 
Please explain: by 'not with my Ubuntu' do you mean running mysqld.exe
under Wine or do you mean using the native Linux mysqld executable?

I thought you said you were trying the Linux version after getting no
joy with the EXE.
 

Martin





More information about the wine-users mailing list