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

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.

Related

What is the difference between installing Xampp and 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

Install MySQL Automatically on WIN, Linux, macOS

I want to use MySQL for an electron app in production and thus, if the client machine doesn't has MySQL already installed on it, then the app will not be able to function. So, is there any way to execute a auto-install MySQL script that installs MySQL on the client machine, even if its not already installed.
Since the app has to be cross-platform, so I am looking for a standard or minimum effort procedure (to speed up the process) to achieve the above, during first-time-app-startup on Windows7+, Ubuntu 14+ and macOS.
I found the following ways to auto-install:
Windows : Link
Linux & macOS: Create a bash script that runs before first-time-startup of the app. (Although, it will check whether MySQL instance is already present on the machine or not)
Looking for a better option than the above mentioned ones.
You may wish to consider the BitNami MySQL distribution; I have always used their VMs when I went after their products, but stand-alone installers are offered for most platforms (including Linux).
(Edit: It seems that the installer for MySQL is offered only for Linux x64)

XAMPP Instalation problems with Mysql and phpmyadmin

I have been having a lot of issues with the proper installation of XAMM for local development. The installation looks OK when completed but then I run apache and works and when I try to access the phpMyAdmin panel it says that it can't connect because of port issues.
I have seen lots of "fixes" on blogs and videos suggesting this that and the other port changes but nothing works. So I want to re-install XAMPP from scratch but I have also had other installs that use "localhost" such as WAMP and BITNAMI. I have already deleted XAMPP, BITNAMI AND WAMP. But when I look in the ***Panel de control\Programas\Programas y características ** to uninstall programs I see that I have other mysql programs in there as in this image:
and my question is if it is safe to uninstall these programs highlighted here so as to clean my OS and be able to re-install XAMPP without further issues of "port x is in use by..."?
I am also aware that I must erase all folder remaining of WAMP XAMPP etc in programs file.

How do I update phpMyAdmin on EC2 LAMP Server?

I have a LAMP server on an EC2 instance. I downloaded phpMyAdmin using Amazon's guide here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html.
On the phpMyAdmin page it says that:
"A newer version of phpMyAdmin is available and you should consider upgrading. The newest version is 4.6.5.2, released on 2016-12-05."
and I need to update it and also MySQL to use new features they put on the updates.
I'm accessing the EC2 instance from the terminal in my Mac laptop. I've tried a lot of things but I couldn't manage it. I've tried
sudo yum install -y phpMyAdmin
sudo yum install
I tried to manually download the latest version from phpmyadmin.net and change the files in the folder but I couldn't access the phpmyadmin folder in the first place.
Any help would be appreciated,
Thanks
You're using the version of phpMyAdmin maintained by your distribution (presumably Fedora, CentOS, or Red Hat); this means that basically you're not responsible for (or able to) upgrade the software that's under control of the package manager (aside from running the updates occasionally). If you wish to use a different version, you're certainly able to remove the package manager version then install it manually. I don't use EPEL, but I believe the highest version currently distributed is 4.4.15.9 (reference, which I think is because of the older versions of PHP and/or MySQL which are currently shipped. So you might not be able to upgrade due to your MySQL or PHP versions, but YMMV.
Basically, if you're using the package managed version, the whole point is so you don't have to worry about manual updates.
You can disable the notification by adding the directive $cfg['VersionCheck'] = false; to your config.inc.php (which may be in /etc/ or /etc/phpmyadmin, but I'm just guessing about how your distribution may handle it.).

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.