But I allso want them to use the same database.
I found that I need to change datadir in my.cnf
But in my linux install of xampp there is no datadir in the my.cnf file.
the only reference to the data dir was this:
- Code: Select all
skip-innodb
innodb_data_home_dir = /opt/lampp/var/mysql/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = /opt/lampp/var/mysql/
innodb_log_arch_dir = /opt/lampp/var/mysql/
so I changed those to the mounted fat partition directory.
But when I restart MYSQL it still uses the old databases and datadir.
It looks like my.cnf is ignored.
Can anyone help me?
thanks