What is the difference between installing Xampp and MySql? - mysql

So I discovered that when you install Xampp you get mysql and phpmyadmin but if I download them individually what's the difference?

When you install xampp you get:
(X) -> Cross-Platform which means it works equally well on Linux, Mac and Windows.
(A) -> Apache
(M) -> MariaDB
(P) -> PHP
(P) -> Perl
and when you install only mySql you only get the ->(M) that is the open-source relational database management system.
Honestly depends on what you need, if you only need the database install Mysql but if you need to serve web pages, provides support for creating and manipulating databases, setup a local wordPress site... install Xampp

The difference is that with xampp you can run apache, filezilla, tomcat and mercury, that are so helpful in some application

Related

How do I setup a visual MySQL client if I already have MySQL installed in my system?

I have downloaded the MySQL from the following link:
http://dev.mysql.com/downloads/mysql/
Downloaded the version 8.0.0. I have OS X 10.10.5
Now, I suppose I need to configure a visual MySQL client on my laptop to write queries. For that, I have installed sequelpro (sequelpro.com).
I need help on following points:
- Since there are a number of sample databases which one can use to learn SQL, can you please guide me on few such databases. My objective is to learn advanced SQL.
- Also, how do I configure my client (sequelpro) to connect to that database so that I can run queries.
As of now, I am stuck with the following screenshot with no clue what to do next.
Thanks a lot. Screenshot here
Based on the fact you said in the comments you have OSX and you installed mysql manually without phpmyadmin I suggest you download and install mamp.
mamp
1: https://www.mamp.info/en/ is,
MAMP installs a local server environment in a matter of seconds on
your computer. It comes free of charge, and is easily installed. MAMP
will not compromise any existing Apache installation already running
on your system. You can install Apache, PHP and MySQL without starting
a script or having to change any configuration files! Furthermore, if
MAMP is no longer needed, just delete the MAMP folder and everything
returns to its original state (i.e. MAMP does not modify any of the
"normal" system).
Basically it is a fake server that runs on your computer. This will be yours for localhost development. You can use it to serve your localhost php applications, change versions of php and gives you a GUI for mysql which is phpmyadmin.
Once you install mamp
you might need to configure mamp to use the mamp mysql but most likley it will work out of the box. If you do run into any problems make sure you stop the instance of mysql you installed already before running mamp then trying to ran mamp again and it should be using the correct version.

How to convert my database folder to sql

I have created project about 'local search' about 2 years ago which is incompleted. The project is in php and mysql. At that time i was installed WAMP. Then several times I changed my pc's Operating system.
Now I have to start working on this project again but I have installed XAMP. I didn't export database 'local_search_data' at that time. But i found folder 'WAMP' is there and I found database 'local_search_data' but in folder.
My question is now How I convert this 'local_search_data' folder to database(sql) format so that I can import it from mysql.
Assuming the MYSQLServer from the old WAMPServer will run in your new OS you can do this.
First ensure XAMPP is stopped, and make sure its Apache and MYSQL services are stopped.
Launch \wamp\wampmanager.exe
Using the wampmanager menus do
wampmanager -> MYSQL -> Service -> Install Service
This should install a service called wampmysqld or wampmysqld64 if you were running a 64bit WAMPServer, and the old MYSQL version will now be startable.
wampmanager -> MYSQL -> Service -> Start Service
You can now do a backup of your old database(s) using the command line tools like mysql.exe or mysqldump.exe
If you wanted to get the old WAMPServer running you could also do
wampmanager -> Apache -> Service -> Install Service
wampmanager -> Apache -> Service -> Start Service
And you would have your old WAMPServer up and running exactly the way it was.
Possible issues:
If you do not have all the necessary MSVC runtime libraries installed restarting Apache may not work. But these can easily be download and installed. See POINT 20 on the troubleshooting guide on the WAMPServer forum There are links on that page that will help you download them all for 32 and 64bit systems.
Remember if you run 64bit Windows, you need to download the 32bit AND 64bit versions of the MSVC runtimes
You might have to download the MSVC 2008 32bit runtime to get wampmanager to run.
Here, I just found some part of solution. I just started XAMPP and copy 'local_search_data' folder into xampp\mysql\data folder. Then I got table structures. I know it showing problem of engin. But now I got at least table sstructures. Thank You.

XAMPP on iMac - will it adversely affect built in Apache, Perl, PHP

The issue of importance here is installing and using MySQL on my iMac. To my knowledge, OS X (currently running OS X 10.5.8) has the Apache web server, Perl and PHP already installed (I've verified that by experiment). It does not have MySQL installed however and I'd like to install it.
I stumbled upon a couple versions of the Apache, Perl, PHP, MySQL bundle known by various names such as MAMP, XAMP and XAMPP. XAMPP seems to be the best of the bunch, but that's somewhat irrelevant to the discussion. What I'd like to know is if I install, say XAMPP, will this affect the built-in Apache, Perl and PHP instances installed on the machine? I don't want to mess those up in any way (i.e. will installing XAMPP change those installations?). If it's a separate install, could there be conflicts of some sort between the built-in Apache and the one installed from XAMPP?
In case it isn't obvious, I know next to nothing about web servers or their configuration.
See earlier SO question: XAMPP or MAMP on Mac OS X 10.6.2 (Snow Leopard)
Read the docs: XAMPP - and Bitnami for that matter http://bitnami.org/stacks - don't change or impact current OS X installs of apache, php, etc.
XAMPP docs say that XAMPP "comes as a Mac OS X Installer package which contains all the necessary files and requires no dependencies."
Regarding BitNami, I'd like to mention that if the installer detects any software running in the default port (for instance if you have your own Apache server running in your system), it will asked you to select a different port for BitNami and it will configure the new server using that port. You don't need to manually configure it after the installation, it is automatically done.

Need Help Installing MySQL

I have downloaded and stalled the MySQL server 5.5 version via .DMG on my Mac.
But I am confused as to what to do next. I have the preference settings bundle and it says that the MySQL server is running. But do I need to download a client separately? I'm trying to access MySQl in terminal to create an account or login but nothing is working.
You need to use the full path to mysql (/var/lib/mysql), or add the mysql directory to your $PATH var.
If you're trying to install LAMP environment on your mac, try a complete solution, such as MAMP (http://www.mamp.info/en/index.html) or XAMP.
These tools are bundled with phpmyadmin, which makes mysql administration easy

XAMPP phpmyadmin mysql user manual?

This is actually 2 questions...
Background:
After using the command line in MySQL for my database introductory classes (very enjoyable), I had been required to use a DBA tool and downloaded XAMPP as identified below.
The transition to a GUI would be ok if I understood the interface for creating database tables...
Q1.I have searched the net and Amazon trying to locate a user manual for XAMPP... does anyone have an actual manual? At this point it is trial and error.
Q2. As a student I am curious about the use of these tools in the real world... why not use the command line provided in MySQL?
XAMPP for Windows 1.7.3, 2009/12/23
Version Size Content
XAMPP Windows 1.7.3
[Basic package] Apache 2.2.14 (IPv6 enabled), MySQL 5.1.41 + PBXT engine, PHP 5.3.1, OpenSSL 0.9.8l, phpMyAdmin 3.2.4, XAMPP Control Panel 2.5.8, XAMPP CLI Bundle 1.6, Webalizer 2.21-02, Mercury Mail Transport System v4.72, msmtp 1.4.19, FileZilla FTP Server 0.9.33, SQLite 2.8.17, SQLite 3.6.20, ADOdb 5.10, eAccelerator 0.9.6-rc1, Xdebug 2.0.6-dev, Ming 0.4.3
For Windows 2000, XP, Vista, 7. See README
EXE
51 MB Self-extracting RAR archive
MD5 checksum: 3635a1c0baf15e8a019009e6c1225389
Thank You for your interest!
Xampp is just a collection of other tools... the sql tool, phpMyAdmin, has it's own manual.
http://www.phpmyadmin.net/home_page/docs.php
As for why to use xampp, it's meant for simplicity. If you were going to use ALL of the tools in the package (web server, database, php interpreter, etc, etc) it would take a considerable amount of time and effort to install and configure. xampp does everything for you. I don't use xampp, myself.