Create MySQL Database - MySQL Workbench Tutorial

Поділитися
Вставка
  • Опубліковано 20 лип 2024
  • Upgrade your Clever Techie learning experience:
    / clevertechie
    UPDATE! (9/13/19) New features and improvements for Clever Techie Patreons:
    1. Download full source code with detailed comments - easy to learn and understand code
    2. Weekly source code file updates by Clever Techie - every time I learn new things about a topic I will add it to the source file and let you know about the update - keep up with the latest coding technologies
    3. Library of custom Clever Techie functions with descriptive, easy to understand comments - skyrocket coding productivity, code more efficiently by using Clever library of custom re-usable functions
    4. Syntax code summary - memorize and review previously learned code faster
    4. Organized file structure - access all Clever Techie lessons, source code, graphics, diagrams and cheat sheet from a single workspace - no more searching around for previously covered material and source code - save enormous amount of time and effort
    5. Outline of topics the source file covers - fast review of all previously learned coding lessons
    6. Access to all full HD 1080p videos with no ads
    7. Console input examples - interactive examples that make it easier to understand and learn coding
    8. Access to updated PHP Programming Book by Clever Techie
    Download this video's source code and additional files here:
    / create-mysql-20819048
    `````````````````````````````````````````````````````````````````````````````````````````````
    We model a MySQL database using a diagram in MySQL workbench. We then forward engineer the diagram to create MySQL database on the server. MySQL workbench is a powerful tool for modeling and creating databases and we take advantage of it's relationship tool to create many to many relationship between our main movie table, and stars, directors and genres tables. I don't go into too much detail on how the relationships work in this video on purpose, I wanted to make a general overview of how MySQL workbench can be used to quickly created the model of a database with relationships between tables.
  • Навчання та стиль

КОМЕНТАРІ • 140

  • @FacePalmProduxtnsFPP
    @FacePalmProduxtnsFPP 5 років тому +24

    That is so awesome! I love that someone created the GUI interface and forward engineer option!

  • @alexl8632
    @alexl8632 5 років тому +10

    This is helping me pass a class in uni. I'm working on a database about boardgame tournaments, so it's different but if I pass this class, it's gonna be in large part thanks to this video. All the kudos to you.

    • @daniii3915
      @daniii3915 4 роки тому

      I can also help you with a hug.

  • @gatorslife22
    @gatorslife22 5 років тому +4

    YOU ARE A GOD! Thank you so much for making this video. I have been struggling for 4 days trying to figure out how to connect to my own database using a java connector and I think this may just be the key I was missing. thank you SO much! *HUGS*

  • @RosnerTheWriter
    @RosnerTheWriter 6 років тому +1

    I don't know the first about SQL or databasing or anything but I am able to follow your video and I appreciate the time you've put in to these videos to make SQL accessible for lay people like myself.

  • @albertolopez7073
    @albertolopez7073 3 роки тому +1

    Im trying to get a webserver database running for my android app and This is exactly the info I've been looking for! Thank you so much, you're a great teacher! 😁

  • @sahin8649
    @sahin8649 7 років тому +25

    It is incledible! Great tutorial and great presentation. I have a project with about 50 tables and many relationships. I bumped into your video and solved all my complexity problems with that! Many, many thanks to you. :)

  • @EdwinSepulvedaLE
    @EdwinSepulvedaLE 7 років тому +2

    You really explained this course super excellent, thanks.

  • @patriksamju
    @patriksamju 6 років тому +5

    I learn fast on your way in tutoring us on "HOW TO" on stuffs, very easy and concise.

  • @GreatAdib
    @GreatAdib 6 років тому

    extremly usefull saved my day tomorrow is my final lab mysql exam on database management

  • @hemendrasahu7943
    @hemendrasahu7943 5 років тому

    Good way to teach about many to many relationship between database table. Thank you it helped me

  • @aigbekennethomorodion4026
    @aigbekennethomorodion4026 7 років тому +2

    Great presentation style! Very helpful, thanks.

  • @iliyaniliev1079
    @iliyaniliev1079 6 років тому +6

    Sir, you are incredible and you are shining beam of humanity's essence - sharing with others and caring for them!
    Amazing, amazing video!

  • @gromitbear9231
    @gromitbear9231 3 роки тому

    thank you so much for this :) I have been looking to create a database of the movies on my Plex server. How would we go about inputting the data into the tables? Would we have to input all the movie, actor, director, genre information separately?

  • @evanzhao3887
    @evanzhao3887 5 років тому +1

    Thanks a lot for the tutorial video. Just a suggestion to make your chanel even: can you organize your playlist in a clearer way, i am having trouble finding the "next video" that you mentioned in the end of this video.

  • @jdtaylor1454
    @jdtaylor1454 3 роки тому +1

    Oh bless you 🙏🏾 May you continue to be a light in the dark places . Tysm

  • @durianjaykin3576
    @durianjaykin3576 3 роки тому

    thank you so much, needed a quick revision and you really helped me out

  • @sirasidibe3149
    @sirasidibe3149 6 років тому

    Hi I love your video thank you so much for your advices. But there's a point that i didn't understand. In fact in the stars & directors tables you select Unique box for "name" attribute. But I learnt that attritbute like name,lastname,firstname cant be unique cause it's possible to have several people with the same first and last name. So can you explain me the reason why you did that ?

  • @mvcypriano
    @mvcypriano 7 років тому +1

    Very good stuff. Thank you.

  • @bestest43
    @bestest43 5 років тому

    hi there, great work btw. When I'm trying to connect localhost/phpmyadmin, it says browser can't connect to the server. I've checked MySQL status(up and running) and also I am able to connect in my terminal and create db etc... How can't I connect to my phpmyadmin page?

  • @cgme7076
    @cgme7076 4 роки тому

    Explained very well.
    Thank you!

  • @violeta4558
    @violeta4558 5 років тому

    How I can setup Timezone on MySql Workbanch server?

  • @DunkusB3ndro
    @DunkusB3ndro 6 років тому

    I'm confused on the phpmyadmin part. Can I download that if I have a Mac? Huge SQL newbie over here so I was following pretty well with the workbench stuff but then got confused once you went to the phpmyadmin part

  • @cinemaismywife
    @cinemaismywife 3 роки тому +1

    will this many to many create a combination of unique keys in the movies_directors? if there is not unique combination duplication might occur right?

  • @viciouz25
    @viciouz25 6 років тому +1

    Thank you for this tutorial. I have two questions and want your thought to be clear. 1. When populating the tables with data which table should be consider first since there exist relationships and some constraints. 2. Do we also populate the intermediate tables that were created as a result of the many to many relationships (.i.e. movies_directors, movies_genres and movies_stars)? Or these are just used for relationships

  • @ILIILLLIIILL
    @ILIILLLIIILL 7 років тому

    I didn't know that I can make relational database without fields that store the values of foreign table id.
    Nice video.

  • @emilianoacuna9705
    @emilianoacuna9705 6 років тому

    Can you use mutually exclusive relationships? cant finde them anywhere

  • @luispereira4495
    @luispereira4495 6 років тому

    Hy Clever Techie! Great tut!! Im trying to build a Real Estate Website Database Schema, but i don´t have much experience. But i can use this tutorial for that?...its kind of the same thing? Can u give me some general hints??

  • @navishkakularathna2414
    @navishkakularathna2414 4 роки тому +1

    This is great. Thank you!

  • @sarahmoreels2248
    @sarahmoreels2248 5 років тому

    Ty so much! you are great at explaining!

  • @amirrahman853
    @amirrahman853 3 роки тому

    Just the video i was looking for

  • @varunmj5482
    @varunmj5482 6 років тому

    when i try to scrape the data, i get the error in $all_data = array_merge($data,$all_data); that Undefined variable: data

  • @scotloomi941
    @scotloomi941 5 років тому

    Very clear and useful. Thank you.

  • @JimiTip
    @JimiTip 6 років тому

    Cool tutorial man really helpful

  • @aaron9828
    @aaron9828 5 років тому

    The only thing I changed is to not start the server with the system. Now I run into problems. How do I start it manually?

  • @almogklinger4525
    @almogklinger4525 6 років тому

    great video very helpful and sufficient ! thx !

  • @mubarakazeez859
    @mubarakazeez859 5 років тому

    Nice presentation.
    Pls can you help me with the video on how to link MySQL workbench with login page using VS text editor.
    Thanx.

  • @xazmorado2442
    @xazmorado2442 6 років тому

    Do you have the example of the insert¿

  • @mscode-hd8xw
    @mscode-hd8xw 5 років тому

    how to call it those tables on the JOIN query?

  • @perfectjuan4245
    @perfectjuan4245 5 років тому

    Thank you so much! You help me a lot

  • @sabinamartins2674
    @sabinamartins2674 4 роки тому

    how to download the video of programing with used of mysql

  • @johnnybegood4756
    @johnnybegood4756 5 років тому

    Thanks, Bro! It was really usefull tutorial

  • @victoriacox4313
    @victoriacox4313 5 років тому

    SO HELPFUL!!! THANK YOU!!!!

  • @ILIILLLIIILL
    @ILIILLLIIILL 7 років тому +1

    Which workbench theme are you using? and is there any way that I can create new model (drawing relations) with existing database?

    • @clevertechie
      @clevertechie  7 років тому +1

      I'm using Windows 7 theme, and yes if you want to new relations with existing database model, you first have to "reverse engineer it". So to do that go to Database -> Reverse Engineer and then pick the one you want generated as a diagram.

    • @ILIILLLIIILL
      @ILIILLLIIILL 7 років тому

      Clever Techie Thank you so much! Sorry for my bad English.

  • @saadawais8153
    @saadawais8153 6 років тому

    Helped a lot thanks.

  • @erikschiegg68
    @erikschiegg68 4 роки тому

    Email adresses and URL can be 255 long, if you choose smaller, some users will not be able to be registered correctly.

  • @krish6729
    @krish6729 Рік тому

    Thank you for this lovely lesson. Can this also be done on an Android tablet ?

  • @misterkoko-code5140
    @misterkoko-code5140 7 років тому +1

    How to increase a font size of user interface? Because my display has too big resolution and I cannot see UI items names. I've tried all options but I only made editor font bigger.

    • @clevertechie
      @clevertechie  7 років тому

      Not sure, haven't played with font sizes yet, I'll let you know if I figure it out.

  • @jamesstark4136
    @jamesstark4136 2 роки тому

    @13:30 It says movies_has_directors because it is meant to be read either forward or backward, Movies have directors and directors have movies. A movies_directors relationship could be any relationshiip 1:1 or 1:n or n:m and therefore is ambiguous unless you already know what it is.

  • @libranajay
    @libranajay 6 років тому

    A very nice tutorial.

  • @seanleeduncan
    @seanleeduncan 2 роки тому

    Very helpful. Thanks. What did you use to make the initial model diagram?

    • @clevertechie
      @clevertechie  2 роки тому

      I used workbench and some Photoshop

  • @cathyb2204
    @cathyb2204 7 років тому

    Eek! I'm a complete MySQL newbie, and not ready to start into PHP yet. What platform do I run the code you provide to parse the IMDB file? Sorry for being such an ignoramus.

    • @nobytes2
      @nobytes2 7 років тому

      Cathy Bourner You need to run it on a server. Either local server like Apache or your website server. Lookup Xamp or Mamp.

  • @aisniper4095
    @aisniper4095 2 роки тому +1

    Amazing tutorial!

  • @monopenguin1375
    @monopenguin1375 6 років тому

    Thank you..very helpful:D

  • @jasperrenaldo7367
    @jasperrenaldo7367 4 роки тому

    Could you help with a python script for the same?

  • @hisheartsings2742
    @hisheartsings2742 3 місяці тому

    thanks for this masterpiece i learned a lot.

  • @SpiderLy
    @SpiderLy 6 років тому

    Thanks for Tutorial

  • @skepat9426
    @skepat9426 6 років тому

    I don't actually understand why the relation of movies to genres is many to many, because 1 movie has only 1 genre ,and 1 genre can be assigned to many movies so its a 1:n relationship. Please correct me if I'm wrong!

    • @odil8484
      @odil8484 6 років тому

      "Some movie" Genre : Drama, Fantasy ... that's why

  • @sergiyrudenko905
    @sergiyrudenko905 6 років тому

    Thanks , great video! give me pls the link for the next video

  • @michaelchambers5606
    @michaelchambers5606 6 років тому

    Thank you!

  • @magalyperez9272
    @magalyperez9272 6 років тому

    Thank you . Excellent video.

  • @user-hc8zr1tv4h
    @user-hc8zr1tv4h 6 років тому +1

    Good guy!

  • @edwinaguilar1855
    @edwinaguilar1855 3 роки тому

    Excellent tutorial

  • @mohsinraza4526
    @mohsinraza4526 6 років тому

    your excellent work

  • @Krobongo
    @Krobongo 3 роки тому

    Finally a video with a non-indian guy

  • @brettaylor2661
    @brettaylor2661 5 років тому

    Thank you for the movie. I'm a beginning user and couldn't figure out how to export a sql file. After viewing this I learned I needed to forward engineer the model before I could export it. Thank you.

  • @stalinwesley
    @stalinwesley 4 роки тому

    Thanks Great Tutorial .

  • @adilsoncardoso8391
    @adilsoncardoso8391 3 роки тому

    How do I solve error 1064 on Fw engineering? Please. Have a deadline in 4hours

  • @ntulume
    @ntulume 2 роки тому +1

    Great stuff clever techie

  • @julcrm
    @julcrm 4 роки тому

    What if can't connect with my local database? :(

  • @RendernStattGendern
    @RendernStattGendern 5 років тому

    great tutorial

  • @adityatekumalla3578
    @adityatekumalla3578 6 років тому

    wonderful ... Thanks a ton :)

  • @sudsown7258
    @sudsown7258 13 днів тому

    Thanks. I am facing a problem. I am new to SQL and downloaded a database from the lecture but after uploading it to MYSQL Workbench, it shows error- "error code 1049 unknown database". However, the database file type extension is .sql and it is error free. Please suggest.

  • @TheMrGreenMoney
    @TheMrGreenMoney 5 років тому

    What is the difference between creating a relationship with a continuous or discontinuous line?

    • @SupertCZ
      @SupertCZ 5 років тому

      Continuous line - Value has to be specified
      Discontinuous line - Value can be null

  • @HugoRamirezSoto
    @HugoRamirezSoto 6 років тому

    Great tutorial, thank you so much!

  • @ibrahimacobar12
    @ibrahimacobar12 7 років тому

    so usefull....thanks a lot

  • @joemariebin4874
    @joemariebin4874 3 роки тому

    its so helpful bro i appreciate it thank you for the tutorial Godbless you

  • @abdulmlaikalomayri727
    @abdulmlaikalomayri727 2 роки тому

    This really useful

  • @emerenuedison2374
    @emerenuedison2374 3 роки тому

    Please how can I get Ur previous video

  • @micko8217
    @micko8217 Рік тому

    why do i have Error 1064: when i try to forward engineering???

  • @levchegochev6086
    @levchegochev6086 4 роки тому

    How can i get the script?

  • @mubirumugerereict5502
    @mubirumugerereict5502 6 років тому

    best for me

  • @brianshaw738
    @brianshaw738 4 роки тому

    Thx. very useful info

  • @mohamedabdalla844
    @mohamedabdalla844 2 роки тому

    Was useful!!

  • @catalintodoran4302
    @catalintodoran4302 5 років тому

    Database is used usually for PHP programing lanangue, u know how to make in html a database.. i dont know if its possible I'm just 70% percent but please if u can or anyone... Explain me . I want to understand :)

    • @isaacalexisrivera3157
      @isaacalexisrivera3157 4 роки тому

      html is a markup language, works only in the client side, php works in the server side

  • @medtalks6146
    @medtalks6146 4 роки тому

    thank you

  • @fritzschreiber552
    @fritzschreiber552 6 років тому

    Best Video

  • @angelazeta9448
    @angelazeta9448 3 роки тому

    Thank you for this video :-)

  • @richardb8104
    @richardb8104 7 років тому +4

    it won't let me setup the localhost connection

    • @richardb8104
      @richardb8104 7 років тому

      I reinstalled the server and it works!

    • @Dinerlegacy
      @Dinerlegacy 5 років тому

      dev.mysql.com/downloads/shell/
      Are you sure you installed my SQL after this tool?

    • @ciaranlane8676
      @ciaranlane8676 5 років тому

      @@richardb8104 How did you reinstall the server?

  • @Spiceysec
    @Spiceysec 3 роки тому

    unable to connect to local host

  • @sinas9522
    @sinas9522 8 місяців тому

    Thanks

  • @KS-fz7hh
    @KS-fz7hh 4 роки тому

    I don't really get why you choose "ID" and then don't explain your choice.

  • @Jeffly509
    @Jeffly509 4 роки тому

    Great!

  • @treatinet6075
    @treatinet6075 Рік тому

    Thankyou

  • @swleeca
    @swleeca 5 років тому

    Man! Too many ads in the video.

  • @farmerlanglang
    @farmerlanglang 6 років тому

    localhost/phpmyadmin/ site cant be reached

  • @dayvisonfelipe3172
    @dayvisonfelipe3172 6 років тому

    YOU FUCKING SAVED ME RIGHT NOW, BRO. LOVE U!

  • @jamesmakume2630
    @jamesmakume2630 3 роки тому +1

    If I could subscribe more than once I could.

  • @charlieramonesbackingtrack8876
    @charlieramonesbackingtrack8876 5 років тому

    One movie can be directed by one or many directors, one director can direct none, one or many movies. 😎

  • @Oleksandr594
    @Oleksandr594 6 років тому

    It would be better with foreign key explanation

    • @randomname6617
      @randomname6617 6 років тому

      ua-cam.com/video/aKcEfkLxg80/v-deo.html
      mybe this helps

  • @lydiagiwa2178
    @lydiagiwa2178 5 років тому +1

    too fast at the end