0% found this document useful (0 votes)
20 views

Database Further Mysql

Mysql Furthermore

Uploaded by

nat yesu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
20 views

Database Further Mysql

Mysql Furthermore

Uploaded by

nat yesu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 32
MySQL An Introduction Databases 101 THINK WE SHOU ‘DOES HE UNDERSTAND )/#] (CHAT COLOR DO YOU QURD AN SOL (HAT HE SAID OR WANT THAT DATABASE?) TS IT SOMETHING HE SAW) IN A TRADE IAAGALINE AD? Copyright > 1995 United Feature Syadicate, Ine Redistribution in shole or in port prohibited What is MySQL ? MySQL is an open source relational database management system. It includes the SQL server and client programs for accessing the server. Widely used by web application developers, together with PHP and APACHE It is pronounced My-es-que-el (Not My-Sequel) MySQL AB MySQL AB is a commercial entity Marketing & Development Originally established in Sweden A virtual corporation Service, support, training and consulting Profitable since inception Fact Sheet Most popular open source database over 100 million copies downloaded or distributed 6,000,000 active installations 35,000 downloads a day Certified for all SAP applications Elite client list—Yahoo!, NASA, Google Proven track record Why learn MySQL? Leading open source RDBMS Ease of use — No frills Fast Robust Security Multiple OS support Free Technical support Support large database— up to 50 mil lion rows, file size limit up to 8 Mi ion TB The MySQL Value Proposition IBM, ORACLE and Microsoft “The top dogs” The enterprise/SMB market MySQL “The underdog” — Disruptive technology, Commoditized Market Performance, Reliability, Security, Performance MySQL RDBMS SOURCE Commercial License GPL open source License Embedded Database e Support, training and Consulting Which edition to use? MySQL Enterprise - most comprehensive offering of MySQL database software, services and support ¢ MySQL Cluster - a fault tolerant database clustering crenoeie for deploying highly available mission- database applications MySQL Embedded Database = most popular choice for OEMs/ISVs wh4 cost-effectively embed or bundle a reli high-performance relational database; * MySQL community edition MySQL Community vs. Enterprise __ememmnmnntgeremanmnten | gem ‘My own method of keeping my systems up to date and am comfortzble upgrading and corfiguing MySQL. Automated notifications and preictable relaaces of welltestad Updates and ungrades. Time to monitor and adjust the MySQL settings that wil tune, scale and maintain performance Proactive, visual notification and advice on maintaining optimal performance, [Experience with database security so that 1 know when a security breath has ocurred Continuous monitoring of systems so that I canbe alerted to Unplanned security changes and vulnerobiltes [Experience designing, setting-up and monitoring the status of ‘MySQL replication, Replication status monitoring so that 1 ean improve repliction design and performance. “Time to identity and resolve technical issues for mse and others. Fast resolution and committed response times to avoid loss of revere or enti) application access “Tme to dasion and tune appkcation code, database schemas and dynamic quatias for optinal performance, ‘Access tothe most experienced technicians availabe to resolve my issues qu Take me to the community downloads! Starting at $595/server/year Tell me more or Buy Now! MySQL Enterprise ¢ MySQL Enterprise Monitor - a'Virtual DBA Assistant" to enforce MySQL recommended best practices ¢ MySQL Enterprise Server * MySQL Production Support - get your toughest technical questi answered quickly Platinum Gold Silver Basic $4995/server/Year $2995/server/Year $1995/server/Year $595/server/Year Where can | get MySQL ? http://www.mysql.com/downloads/ Make sure you pick the correct version for your OS Download MySQL 5.0 Community Server GA Download MySQL Administrator Download MySQL Migration Toolkit Download MySQL Query Browser Installing the server * Follow the screenshots Smee Setup Type ‘Groce the satu type that bes suts your needs Pease selec tuo type Orvwical SA. conten pros features vil be instaled, Recormended for oorera use. Ccomplete we roan esos nae atale, eas themes ck some, Installing the server maser oes ia Ready to Install the Program The wiead ready to begin nstalaton C:\Program Fles\MySQUIMySQL Server 5.0} Installing the server MySQL.com Sign-Up b Login er ceate anew MySQL.com account Peace log mor select the option o cea a ew account O Greate a new free MySQL.com account IF youdo net yet have a MySl.com account, select this copton and compet the Foloving tree steps. Oogin to MySQL.com ‘Select this option if you already have a MySQL.com account. lease specty your logninfomatien bebo, mal addess: Installing the server DU silseern dessa) Setup has fished installng MySCk Server 8.0, Clk Finish to tthe weard Zconfigure the MySQL Server now Use this option to generate an optimized mySQU config file, setup a Windows service running on a dedicated port andto set the password far the root account. Installing the server MySQL Server Instance Configuration ‘Configure the MYSQL Server 5.0 server instance. Please select s configuration type. Obetailed Configuration Choose thi configuration type to eae the optinal server setup for this machine, © standard Configuration Use ths ony on machines that do ot akeady have 2 MYSQL sever ‘atelatin The wil use 2 gnerlpxpose configuration for he serve hat canbe tuned manual. Installing the server UYSMiseren sues couiteueiom nea) ‘Configure the MYSQL Server 5.0 server instance. i Please set the Windows options, Zinstall as windows Service ‘Thsisthe recommended waytorunthe MySQL server on Windons, Service Name: MySQL a Cltaunch the MySQh Server automaticaly ‘Miinctude Bin Directory in Windows PATH Checkthisopcn toe the dretrycantaing the sar det ees the Wdoys PATH varie so thoy can be caled fromthe coma Installing the server Dsubosnenisenes Coie ito ied MySQL Server Instance Configuration Conigure the MYSQL Server 5.0 server instance. "Pease st the securky options. [Zmodify Security Settings: Irsrotpesmen [reeee ] rer throat pasword ‘Confirm: = Retype the password, (lenatle root access Fram remote machines Dicteste an anonymous account ‘This option wl reate an anonymous acount on this server. Please ate that tis can lead to an reecure system, Installing the server Dsibssnenistnes ouimir ton ied MySQL Server Instance Configuration ‘Configure the MY5Qh Server SO servernstance Ready to exentte Prepare configuration O Wit configuration fie O Sta service © rly sect settings Please press [Execute] to start the configuration. Installing the server * If you have firewall, remember to unblock TCP port 3306 ¢ If you prefer GUI operations, install Administrator, Migration Toolkit and Query Brower * Configuration parameters stored in “C:\Program Files\MySQL\MySQL Server 5.0\my.ini” * Change configuration by “server instance configuration wizard" MySQL administrator Query browser A set of command line utilities mysqld, mysql, mysqladmin, mysqldump (located in C:\Program Files\MySOL\ MySQL. Server 5.0\ bin) What is it ? Why do I want to use it ? For what all can T use it ? See handout later About Data types ... Detailed help in describing your fields can be found online at the MySQL user manual. These two links are very helpful http://dev.mysql.com/doc/refman/5.0/en Istring-types.html https v.mysql.com/doc/refman/5.0/en In General: Refer to chapter 11 of the user manual at www.mysgl.com/doc/en/Reference.html Quick Example of data types am unc rengen) YARCIARG ge) TaT(Tength) WWStONED TELL Tengen.) UATETINE Fst en gh charac 3. Vrach carci. Theva ing that canbe sei ent wh rumbetetwen 90355 rue gh cunt sarah ee een A re with args tor-210 tt {heute Therunber can bese isi y Jevgtn Forename, ents {Conran rsa uaa eb Faye even th ier umber we tre Troe wha rane fo asa Tengen sede saber tan be led for earl Tenchi, ‘nowrap maak dead en {Poup ighe robrs are Sor Dic amber her Tenge ise rumber chores ta canbe sed dah ‘noe ced elon ‘ote ange ha moun rar ‘females oon For ample, that espana sendoee ol Dae as wih your month an ae ne bean as THMMDD fi xe, oie Tie al waht, ee Dasara teins ‘ate anime re sed ot Oe ‘rivet ass ‘ny eval sted ane sted Aas ees ves ans. privileges Table 14-1; MySQL Privilege Scope ‘me Storage engine and table types ° ISAM Indexed Sequential Access Method Fastest table type in MySQL Originally used in mSQL by TeX (the predecessor of MySQL AB) Do not support transactions and foreign key — No longer supported after version 5.1 * InnoDB — Purchased by MySQL later - Large data volume, heavy-load production system - Support transactions and foreign key Word of advice .. Describe your fields correctly Describe your data tightly Secure your server well Understand the mechanics Use the manual Use the mailing list Questions ? iN MysQ)

You might also like