answersLogoWhite

0

MySQL

MySQL is a Relational Database Management System. It was first released in 1995 and is most commonly used with the PHP programming language. MySQL is open source and 100% free to use.

526 Questions

What is Schema in the term of Database Management System?

Schema means structure of the databse. Like, tables, constraints, relation

What is difference between MySQL server MsSQL?

MSSQL is the abbreviation for the Server system Microsoft has.

Compared to MySQL, which is the SQL server system that is open source, maintained by the MySQL company (Now owned by Sun).

Describe the main characteristics of the database approach and contrast it with the file-based approach?

The Database Approach has four common characteristics. These are: Self-describing nature, support multiple user view of data, share the data and multiple user transaction processing and insulation between data and data abstraction.

Explain different types of attributes with example in DBMS.?

Different types of attributes in DBMS are:

  • Key or non key attributes
  • Required or optional Attributes
  • Simple or composite Attributes
  • Single-valued and multi-valued Attributes
  • Stored, Coded or derived Attributes

Is MySQL a programming language?

MySQL was written and developed using the C and C++ programming languages.

What is the difference between mysql server and oracle server?

While these three products are very similar, there are some differences. MySQL does not have a GUI interface while the other two do, it is also the only open source product of the three. SQL Server only runs on Windows, while the other two run on a variety of operating systems. Language support differs among the three, with each having some unique language support.

Why use MySQL?

It's free.

Widely used, so there is plenty of support, examples, tutorials.

Better at performing some tasks such as jumping to records without first cycling through the previous records.

It runs on Windows, Windows Server and *nix machines

It is continually being improved (ongoing development)

It can use transactions (ie rollback several update/inserts, if something fails)

Supports live backups, table locking, basically anything any other database can do.

To view a table in Design view?

in the Views group, click the Views arrow and click Design view

ER Diagram for a airline management system?

The diagram for airline reservation system can be found by doing an internet search. It includes the day of the week and the flight.

Why we are using oracle instead of mysql?

This question is very broad subject and in few lines, we should not answer... For the answer, you must have through idea/knowledge about the Organization like, Budget, IT, Technical Competencies, Capacity Planning, IT infrastructure... If any of the above mentioned area is lacking with funds then you may compromizing with the quality, security or the productivity... In the market, you may find so many products which are promising to handle your organizations Data Management but the best RDBMS is Oracle... Hope it helps... Cheers !!
Star Nirav
+91 9227258878

When was MySQL created?

MySQL was first released on 23rd May 1995.

What is the classification of DBMS and its interfaces?

Answer

DBMS Interfaces

User-friendly interfaces provided by a DBMS may include the following. � Menu-Based interfaces for Web Clients or Browsing: These interfaces present user with lists of options, called menus, that lead the user through the formulation a request. Menus do away with the need to memorize the specific commands and syntax of a query language. Pull-down menus are a very popular technique in Web based user interfaces. They are also often used in browsing interfaces, which allows a user to look through the contents of a database. � Forms-Based Interfaces: A forms-based interface displays a form to each user. Forms are usually designed and programmed for naive users as interfaces to canned transactions. Some systems have utilities that define a form by letting the end user interactively construct a sample form on the screen. � Graphical User Interfaces: A graphical interface (GUI) typically displays a schema to the user in diagrammatic form. The user can then specify a query by manipulating diagram. In many cases, GUls utilize both menus and forms. Most GUls use a pointing device, such as a mouse, to pick certain parts of the displayed schema diagram. � Natural Language Interfaces: These interfaces accept requests written in English, Hindi or some other language and attempt to "understand" them. A natural language interface usually has its own "schema," which is similar to the database conceptual schema, as well as a dictionary of important words. � Interfaces for Parametric Users: Parametric users, such as bank tellers, often have a small set of operations that they must perform repeatedly. Systems analysts and programmers design and implement a special interface for each known class of na�ve users. Usually, a small set of abbreviated commands is included, with the goal of minimizing the number of keystrokes required for each request. For example, function keys in a terminal can be programmed to initiate the various commands. � Interfaces for the DBA. Most database systems contain privileged commands that can be used only by the DBA's staff. These include commands for creating account, setting system parameters, granting account authorization, changing a schema, and reorganizing the storage structures of a database.

High level language?

It is very easy to write and make the system do what u want

How do you add MySQL to your Web server?

Linux variant: depending on the distribution you use, there are (most certainly) prepared packages (e.g. Debian, Ubuntu) to install, if you use a more complicated distro like gentoo, you have to download and compile the source packages (check google for tutorials on that).

Windows variant 1: you can employ a prepared WAMPP package (apache, mysql, php, pear/pecl) - find it here: www.apachefriends.org

Windows variant 2: you can install all desired services manually (check google for tutorials on windows apache iis)

What is the full meaning of mysql?

MySQL is the full name of the product, it's not an abbreviation. In general usage, the acronym "SQL" stands for Structured Query Language.

What is MySQL?

MySQL name was created in 2 parts, the first part was named after the original developer Michael Widenius's daughter "My". Then SQL stands for Structured Query Language. It is pronounced "My S-Q-L", but is often pronounced as "My Sequel" also.

What are the advantages of PostgreSQL over MySQL?

The main difference that I see is Postgres' advanced support for things like Views, Stored Procedures, Transactions and other more advanced database functions. This is not to say that MySQL does not support these, however Postgres' advanced features are tuned to be highly performative.

Also, Postgres supports more concurrent users than MySQL.

That all being said, if you web application is a relatively simple, mostly read-only, and doesn't require large number of concurrent connections, MySQL is probably the better way to go, as it is performatively optimized for reading, and is simpler to install, maintain, and has better third-party tool suppport.

:)

What should be the root password for MySQL server?

In order for the MySQL server to be secure, it must have a unique and non-guessable password. Thus we cannot give you a password, as that would mean someone could access the database without your permission. A good password should be at least six characters long and consist of both alphabetical and numerical characters. It should be easy for you to remember but not something that could be found through a simple dictionary attack.

What is an insert query in PHP and MySQL?

In a database table, the INSERT INTO statement is used to insert new rows. Let's create a SQL query with acceptable values using the INSERT INTO statement, and then run it by passing it to the PHP mysqli query() function to insert data into the table.

To learn more about data science please visit- Learnbay.co

What is need for normalization in dbms?

DBMS stand for data base management system

We normally use dbms systems to improve the management of the data and accesss of the data too.

well if the data is in normal form it is very easy to access it as well as manage it for the system.

In the process of normalization we increase the normality of the data by removing the dependencies redundancy applying the entity integrity and referential integrity.

there are many stages of Normalization process..:

1. 1NF

2. 2NF

3. 3NF

4. BC NF

5. 5NF...etc..

-----------------------------------------------------------------------------------------------

Addendum:

While the above answer is not incorrect, I don't believe it properly answers the question in a way that anyone who is not already a database expert would understand. The question is this: Why do we need to normalize data in a database. Here is the answer:

First, in order to answer this you have to understand what normalization is. Normalization is the process of removing duplicate information and dependent information from a database.

Lets say for example you have two tables, one called 'employees' and another called 'addresses'. In the employees table you include a field called 'city' and you also include this field in the addresses table. The reason you might do something like this is that you want to be able to get a basic idea of where your employee lives without having to look up the address so you include it in both locations.

Why is this bad? well it should be obvious but here it is. Its bad because it allows for inaccuracies. What if the employee moves and changes his address and you forget to change the city listed in the employees table (or your system crashes while you trying to do it)

the proper way to do this would be to not have the 'city' field in the employee table and instead have a reference to the address table. When querying this info you need to join the two tables and this will ensure that you always have the correct info.

-Dallas Caley

Er diagram for hospital management system?

An ER diagram is an entity-relationship diagram they show individuals and their links to each other. An ER diagram for a hospital management system would be a flow chart showing hospital staff, equipment, patients, records and more.

What is the difference between DBMS and file management?

When a computer user wants to store data electronically they must do so by placing data in files. Files are stored in specific locations on the hard disk (directories). The user can create new files to place data in, delete a file that contains data, rename the file, etc -- all known as file management; a function provided by the Operating System (OS).

If the user wishes to perform some operation on the data he has placed in the file, such as viewing a list of his friends that celebrate their birthday in June, he has to scroll through all the data by himself in order to see the data he is interested in. Moreover, he has to know where he put the files that contain the data, and if there are multiple files he has to remember to go through each one of them.

A Database Management System is intended to remove this burden of manually locating data, and having to scroll through it by allowing the user to create a logical structure for the data beforehand, and then allowing the user to place the data in the database that the DBMS is managing. In this way the DBMS abstracts away the physical concerns of organising files, and provides the user with a logical view of the data.

Note, that the DBMS will still -- behind the scenes though -- place the data in files on the hard-disk.

Database is multiuser and provides utilization of resources whereas in file management there is no utilization of resources.

What is cardinality ratio in DBMS?

The ration Between total Participation and partial participation is called as Cardinality ration.