Wamp server and MySqlserver 5.5 - mysql

I am new to MySQL and WAMP concepts. Now in client machine already MySQL is installed. Now i am trying to Install WAMP which is clashing. Without disturbing or touching, i would like to iinstall WAMP and use it. Can I do?

Related

A little different than ordinary case of MySQL and xampp

I've been struggling with this problem for quite some time, I downloaded
'MySQL server' and 'workbench' and installed them, later I downloaded xampp and now there is a problem that xampp comes with its own mysql and is not able to trace my already installed version, So I want to give xampp the path to my already installed MySQL. I tried installing xampp with its own mysql but there was a conflict for ports between the two - sql(that came with xampp) and my MySQL.

Connect xampp localhost from Mariadb to MySQL database

I downloaded the ff: Mysql Workbench, Mysql Community Server and Xampp (latest).
I found out that recent xampp version is no longer using MySQL as database server instead it uses MariaDB. Apparently, MySQL workbench is not compatible with MariaDB.
There was a suggestion in previous forum to turnoff MariaDB and turn on MySQL Server on and it will automatically connect to xampp localhost. Which it did not, rather it shows an error message
Please advise what files needs to be configured to connect my xampp localhost and my manage server control user to mysql database server in OS X (macbook pro).
I just got an answer from XAMPP developers that they build and test the XAMPP installers with bundled components and try to configure it to use external services will be error prone.

If we have mysql in wampserver then should we need separate mysqlserver installation for (databases in) jsp development on PC

I needed to develop some jsp pages which need to connect to mysql databases. i downloaded and installed mysql community server5.5.54 but then found in my PC that i have already mysql in wamp. Was mysql of wamp enough for me or i need to install mysql server separately for my jsp developments
The WAMP server should be just fine as long as it contains a rather recent version of MySQL (5.5+). Important for MySQL Workbench is that the server must be registered as a service in Windows (as this is how WB identifiers the MySQL servers on a box).

installing multiple servers

I'm beginner in SQL. Recently I installed Wamp and Xampp servers on my laptop and I faced with some errors in Apache. So I deleted Xampp on my laptop and now I using Wamp server. Now I'm studying MySQL in phpmyadmin in Wamp server. Also I want to learn SQL server.
If I install SQL server on my laptop, is it compatible with phpmyadmin or I must delete it?
Installing SQL server on your laptop has nothing to do with your existing installation/set up of WAMP. You dont need to delete phymyadmin or even worry about the compatiblity as mysql and SQL server are different products.

can i share the same mysql db between xampp and mamp (mac amp)?

i'm doing some test with xampp and mamp (on macos x snow leopard), sometime i switch between them just to play around , the issue that each of them have their own db in separated location :
xampp in /Applications/XAMPP/xamppfiles/var/mysql/
mamp in /Applications/MAMP/db/mysql/
I don't want to deal with 2 separated mysql db data, i just want to have one , so i can share it to both xampp and mamp (not at the same time). I can update my db without worrying to update another db. Is this implementation is possible ? Does anyone know how to do it without any conflict ?
i'm using mac (so it's mamp), but this can be implemented on other system as well.
THanX
I did something like this on Linux. I needed to run two different versions of PHP but use one MySQL database. I had Apache/PHP installed in Linux as normal and I also installed XAMPP to run a different version of Apache/PHP.
Your setup is similar so the following should work so that both MAMP and XAMPP use the MAMP MySQL database.
I changed the PHP config in XAMPP to use my main MySQL db. Like so:
Locate the file php.ini in XAMPP (mine was in the the etc/ folder of XAMPP).
Open the file in a text editor of your choice and find the default socket it uses for MySQL.
Change this to use the socket
provided by MAMP.
mysql.default_socket = /path/to/mamp/mysqld/mysqld.sock
Save the file and restart Apache in XAMPP.
There is no need to start MySQL in XAMPP anymore as PHP should use the socket connection from MAMP.
XAMPP should now use the database from MAMP.
This should work :)
I thinks it should be possible. Give a try to following technique.
You can start XAMPP. Now Your Apache and PHP of XAMPP will work with mysql of XAMPP.
You can start XAMPP then stop Apache and PHP service of XAMPP. Then start MAMP. Stop mysql service of MAMP. Now Yor Apache and PHP of MAMP will work with mysql of XAMPP.