can't see other database on mysql workbench - mysql

two computers installed mysql 5.5.25a which downloaded from the mysql official site. one is connecting to another's mysql server through MySql WorkBench,but can only see the 'test' database ,can't see others database for example the 'sakila' database.How can i fix it?

You have to manually import sakila/world/menagerie databases from here. Only these databases- test, mysql, information_schema and performance_schema would be present after installing MySQL.

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.

How can i run MySQL and MariaDB database server at the same time and access them at phpmyadmin?

First i want to have two different database servers on Windows 10
A MySQL database server and a MariaDB database server
Second; I want to be able to access them at Phpmyadmin (On Phpmyadmin login screen, I am expecting to see 'Servers' dropdown list to pick either MySQL Server or MariaDB server)
How can I achieve this on Windows 10 ?
1. It's posible, for run mysql and mariadb, u need config one instance more, because mysql and mariadb have similar core. (Is same to install two mysql server instance in one machine). Here one tutorial for install instances of mysql on windows. Multiple MySQL Instances on Windows
2. phpmyadmin requires a web server, PHP, and a browser. But... i think that isn't possible, because this is connect simultaneously to two database server via only one connection of phpmyadmin in your browser, and i think isn't logic support. I think that u can try is install two phpmyadmin. One for mysql and other for mariadb. Check docs in the web site, maybe u can obtain other solution. Phpmyadmin
Regards ✌🏼️

How can we view the databases/tables created in phpmyadmin in the MySQL workbench schemas section?

How can we view the databases/tables created in phpmyadmin in the MySQL workbench schemas section? In my case the database created in the phpmyadmin are not reflected in workbench(v-6.3) and mysql server v-5.7.12.How can I check that the phpmyadmin used is reflecting the correct workbench.
I am running the phpmyadmin locally (XAMPP 5.6.20-0) and I am using Mac OS X El-capitan. Is the import only option copy all databases/tables created in phpmyadmin into MySQL and visa versa?Please advice
As long as MySQL Workbench and phpMyAdmin are connected to the same MySQL instance, any changes made in one program should immediately be visible from the other. You might be restricted if you're connecting as different, non-administrative users who doesn't have access to the same databases.
From each program (MySQL Workbench and phpMyAdmin), issue the STATUS; SQL command and compare the host and port or socket. If they don't match, you would seem to have more than one MySQL installed on your machine.
The fact that you have specifically mentioned installing MySQL server and XAMPP makes this highly likely; XAMPP comes with its own version of MySQL server and you should pick one to access from both client programs to minimize confusion.

How do I put a database onto a local server?

I have a bunch of backed up wordpress mysql database files, I am trying to access them in Microsoft Webmatrix. I originally used WAMP. I honestly have no idea what I'm doing. I am under the impression I have to have the database running on a server in order to connect to it? Help please...
You'll want to have a MySQL server instance installed (this may already be the case), then you can simply restore those backups. This link will help you with syntax for restoring databases from .sql files http://webcheatsheet.com/sql/mysql_backup_restore.php
Depending on the version of MySQL you have installed, and the version of MySQL the databases were created with, you may have to upgrade the databases. More information can be found here: https://dev.mysql.com/doc/mysql-enterprise-backup/3.8/en/restore-upgrade.html

mysql databases

could you guys please explain for me HOW these databases ARE CREATED :
mysql
phpmyadmin
information_schema
performance_schema
I know it's a novice question, I might GUESS the answer for some of them, for example "the reason phpmyadmin database is created" IS because I installed phpmyadmin and this database was created alongside . That's not for sure, so I just need some clarification.
Thank you !
Mysql is a database server. It serves access to databases. It runs on a machine as a service.
Phpmyadmin is a php based tool you install for managing mysql from a web page.
The last two are databases that can be created by an application, such as phpmyadmin, for storing schema information about the rest of the database or tables of a database.
These are the standard set of databases shown when you execute SHOW DATABASES on a clean MySQL install.
mysql - this is created at install of the MySQL server, either by the package management system of your operating system or the script provided as part of the MySQL package
information_schema - meta database, it does not exist on the disk
performance_schema - meta database, but it does store some files on the disk
Any other databases are user/application created.