How to make a mysql database in windows - mysql

Currently I'm working on access database(.mdb) but I wanted to transfer to mysql database. Currently I'm working on windows 7 machine and installed mysql from http://www.mysql.com/downloads/installer/ .
I opened Mysql workbench and created a new EER MODAL ?? as shown in this screenshot . But I still couldn't figure out which one is the database and how to use it. Heres another screenshot of the table modal , and how to save the database to a location when I want.
PS: I'm totally new to mysql and I use access databases and I still don't know if I'm in the right way. Please suggest me if not. thanks

You have the MySQL server running on your local machine. To access it, you would connect to localhost:3306 (I think you have your port set to 3306 from the screenshot I see).
Your second screenshot is the database you are connected to in SQL workbench and what tables it contains. If you give some information on how you are going to be using the DB, I can give you some more information to point you in the right direction.

You don't have to create a new ERR Model. Just make a new connection and New server instance & you are done. If possible do try to install Wamp too.

Related

How do I restart a MySQL local instance in MySQL workbench?

I've recently gotten into databases for a class I'm currently in, and I need a little bit of help. I've managed to create a database, and even populate a table with data which I was then able to grab from a node.js project I've made in Atom. Wonderful! When I went to shut it down, all seemed normal but now it won't restart. As in, when I'm in the homepage section of MySQL I double click the local instance I made(I can only assume this is opening the connection to the local instance where my database is stored) but it won't start up. I don't know what I'm doing wrong. Here is an image of the error I'm getting. I can only assume it's because the actual server isn't on but I don't know how to turn it on.
Any help is much appreciated!
Thank you!
As according to the users ikiK, P.Salmon, and Y4glory the issue I was having was that I wasn't actually turning on the server. I was able to do so by going through my Window's Services application, finding the MySQL server and starting it there instead of trying to do so through the workbench.
Once again, thank you to those who commented as that was really helpful!!
I have tried every other way mentioned here and other related posts, but it did not solve my problem, the service just wont start, but the below approach with the mysql-installer did.
For this to work you need to have your installer which you have used earlier to install MySql.
Start your windows mysql installer. For me it was "mysql-installer-community-8.0.20.0"
Then remove/uninstall the SQL Server and remove all configurations
Manually delete the SQL Server folder from "C:\Program Files\MySQL\MySQL Server 8.0."
Start your mysql installer again and install the SQL Server again
You can check now that the MySqL Server has started.
Hope it helps someone.

Cannot connect to another server database (Authentication with old password...)

I try to connect to another server and database for transfer data purposes.
But unfortunately the image below appear. May I know the reason and can show me how we can create connection to that server?
My current server using latest version (MySQL 8) and other database that I want to connect using MySQL 5(something like that). Please advice Thank you.
IMAGE :
MySQL-8.0 doesn't support the "old password" mechanism from MySQL-4.X. Update the database driver and it will hopefully connect correctly.

MySQL DB error in displaying table

I have a problem when I backup my database from old server to the new one. Both run Ubuntu. The difference is the old database is using phpmyadmin 1.6.3 and the new one is 5.7.21. I lost some tables but it appear in the sidebar. Can anyone describe to me what is going on with my db? Here is the screenshot.
to be clear, here is the screenshot of my old database phpmyadmin interface.
You may try stop and start the mysqld service.
If the error still exists then back up the database file and drop it then import again to a newly created database.
**commands may be OS specific
follow instructions from : MySQL Site

How Can I setup a local DB and Connect it to my index.html file I created for use on my laptop

How can I create a database for local use only to keep track of my inventory. I want the data I enter into the HTML5/CSS3/JS form I already created to be stored away the form has
ItemName:________________
InventoryID:_____________
Date:____________________
Checkbox: ___________
And other things to fill out, this is just an example, and finally a submit button.
I was thinking can I use Microsoft Access, MySQL WorkBench, or what's the best approach, I'm a total noob.
Thanks, all and every help is appreciated.
You can download XAMPP here https://www.apachefriends.org/index.html. Xampp involves Apache which works as a local server in your PC , PHP and Mysql where you can create a database on your own.

MYSQL - Connect MYSQL Workbench to a MYSQL server on localhost

I know the question I am about to ask is a very stupid once but I am new to MYSQL so please bear with me. Want I want to do is create a database on my local machine and also access/manipulate it from their. I thought MYSQL WB was the all in one tool to do this i.e it will also allow me to create a database and also make a MYSQL server from which to access it. But I came to know the Workbench is just a front end and you need to have a some kind of a seperate MYSQL server module for it to access.
The problem is I can't seem to find any link for a simple a server module on the MYSQL download site.
http://dev.mysql.com/downloads/ .
It has one Cluster Server but I don't think this is what I am looking for. If anyone could provide a link to the MYSQL server module using which I could connect MYSQL Workbench on my local host, and the steps to connect them that would be great.
The one your looking for is named MySQL Community Edition. The current version is 5.6.14. Just select your platform (mac, linux or windows) and follow the installation guide.
If you wish to have php/mysql then you can download xampp. It includes all the necessary tools. Or if you wish to install it separately then follow this for Windows,
http://dev.mysql.com/downloads/installer/