Does MySQL Workbench need server to operate? - mysql

I have to solve problem with the database connection.
I checked the ip address and port but my pc's host doesnt allow the connection.
Do I have to own a server to use MySQL workbench?

MySQL Workbench connects to a MySQL Server instance. However, you can install MySQL Server on your own machine. Server and client(s) can co-exist on the same machine.
You can download the latest open source MySQL Server (currently version 5.1.50) from:
MySQL :: Download MySQL Community Server

Related

How did mysql workbench get my old database?

I created database using mysql from phpmyadmin for some practice purposes. Now I've just downloaded and set up mysql workbench and right after I saw my old database which I created in phpmyadmin and that makes me wonder how did workbench get it?
Both phpMyAdmin and MySQL Workbench are administration/client tools. It is used to connect MySQL Service running on your machine / remote machine called server. (usually on port 3306).
When you create databases or store data which is stored under a folder represented as datadir which is owned by the MySQL service.
how did workbench get it?
Database is managed by MySQL Service, like a phpMyAdmin, Workbench also another client, connecting to same MySQL Service.
Similarly, you can use any other MySQL Client to connect with the same MySQL service running on your machine.
Additionally, you can refer my blog to understand more about MySQL Architecture.

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.

Setup a MYSQL database on a Windows VPS for connecting outside network

I have a question about configuring or setting up a MySQL database for connecting outside my Windows VPS.
How do I need to configure my VPS for it and how do I need to configure the MySQL database?
Thanks in advance for your reply!
If you are looking to connect to a MySQL server that is located on a VPS or other type of dedicated server then you most likely need to open the ports on the server.
The default MySQL port is 3306 and a guide to opening ports on a server can be found here: https://www.solvps.com/blog/how-to-open-ports-on-windows-server-vps-or-dedicated-server/
To access MySQL databases outside your Windows VPS, you'll need to allow Remote Connection to MySQL Server. Probably, this tutorial should help you.
https://manage.accuwebhosting.com/knowledgebase/2200/How-to-Allow-Remote-Connection-to-MySQL-Server-in-Windows.html
Once MySQL server is configured for Remote Connections, open MySQL port 3306 from Windows firewall.

How to make phpmyadmin to use MySQL server instead of the wampserver64 default one

I have installed both wampserver64 and MySQL server 5.7. The MySQL service from wampserver64 on port 3307 and MySQL server 5.7 on 3306. After trying the androidhive tutorial for connection android app to remote mysql database (which never worked). I noticed that databases created with phpmyadmin doesn´t show up on MySQL server 5.7 and viceversa.
How can i "force" wampserver64´s mysql service to use MySQL server 5.7 that´s on port 3306?
I think changing this line will...
...but my MySQL server 5.7 has no data folder on it (i´ve installed and reinstalled mysql server many times, dont know where is it)
You absolutely should not share the data dir with two MySQL installations that are running at the same time. That can lead to corrupted databases and missing data.
You can configure your phpMyAdmin to talk to both MySQL instances by adding another server in the configuration file, config.inc.php.
If you want to make wampserver use the other MySQL installation completely, the proper way to do so is to edit the configuration files of wampserver to point to the other MySQL server's port or socket rather than to have the two MySQL services share the same datadir.

mysql server configuration on windows

am installed mysqlserver on windows(xp) another system as server....i want to access mysql from (i.e create table) client machine.client machine does't have mysql..and installed all tools..how can i connect from client..
Here's a list of Mysql tools, http://dev.mysql.com/downloads/
If it is a pure windows system then use Putty to connect to remote client.
After that navigate to the mysql server directory.
YOu can then use the above mentioned commands to start,stop mysql server/ add tables etc..