I'm rather new to PHP and xampp.
I have a computer that has installed MySQL server and MySQL workbench as I was working with Java and NetBeans. Now I want to use my computer for developing PHP and other web stuff too.
I installed xampp successfully.
I have installed XAMPP on my Mac. I know that XAMPP is tuned for very slow desktop and as I have almost 3 million records which I need to join. I have to change something. My tables are MyISAM. As everybody suggests I should have a look at key_buffer_size. However, I'm not sure if my configuration is correct.
I have apache2 and Xampp both installed in my server now my problem is
When i stop apache2 from /etc/init.d/apache2 stop
and tried restart xampp like /opt/lampp/lampp restart i am getting the response
Stopping XAMPP for Linux 1.7.3a...
XAMPP: XAMPP-Apache is not running.
XAMPP: XAMPP-MySQL is not running.
XAMPP: XAMPP-ProFTPD is not running.
XAMPP stopped.
Starting XAMPP for Linux 1.7.3a...
I'm new user of ubuntu 11.10 .
When I try to start XAMPP with sudo /opt/lampp/lampp start command it gives me a message like this.
Starting XAMPP for Linux 1.7.7...
XAMPP: Another web server daemon with SSL is already running.
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.
What is this and how can I find what was this another web server daemon with SSL.
Recently I have moved the data folder of MySql to the other folder as describe in the my.ini following:
[mysqld]
port= 3306
socket= "D:/xampp/mysql/mysql.sock"
basedir="D:/xampp/mysql"
tmpdir="D:/xampp/tmp"
datadir="I:/Dropbox/mysql/data"
pid_file="mysql.pid"
skip-external-locking
key_buffer = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buff
I face this problem :
root@aadel-pc:/home/osama# /opt/lampp/lampp startmysql
XAMPP: Another MySQL daemon is already running.
I've tried to install phpmyadmin, mysql and apache2 manually before I've install XAMPP, but I've already removed them now.
I don't know how to shut this "other MySQL daemon" ?!
for my machine setup i need to run lampp and another mysql/apache instance in parallel.
I already changed the ports of lampp apache & mysql but it still says
XAMPP: Another web server daemon is already running.
XAMPP: Another MySQL daemon is already running.
How can i convince lampp to start mysql and apache even if there is already running an instance of them?
root@jose-desktop:~# sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache...
XAMPP: Another MySQL daemon is already running.
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
I managed to connect the Apache but, now,,, Another MySql daemon is already running? still appearing and I can't connect MySQL
any help?