MySQL Interview Questions
Questions Answers Views Company eMail

What are the different table present in MYsql?

3 6870

What is the difference between mysql_fetch_array and mysql_fetch_object?

CTS,

4 6592

How to set the time zone for MySQL to particular country time?

1828




What is the difference between mysql_connect() and mysql_pconnect()?

TCS,

7 19457

How can we store binary data in mysql?

HP,

2 3715

How can you get your MySQL root password, if you lost it?

PCS,

1227

How do you start and stop MySQL on Windows?

3 2970

How do you start MySQL on Linux?

3 2730




Explain the difference between mysql and mysqli interfaces in PHP?

TCS,

10 25788

What?s the default port for MySQL Server?

Yahoo,

4 4293

What does tee command do in MySQL?

1 6091

Can you save your connection settings to a conf file?

1 2098

How do you change a password for an existing user via mysqladmin?

2 4203

Use mysqldump to create a copy of the database?

2 2736

Have you ever used MySQL Administrator and MySQL Query Browser? Describe the tasks you accomplished with these tools?

TCS,

2179


Post New MySQL Questions






Un-Answered Questions { MySQL }

How to set the time zone for MySQL to particular country time?

1828


How internally data stores in MyISAM and INNODB table types?

1150


all the queries used in sql

1258


How can you plan the logshipping before processing?

948


using primary can we relate two table, with out foreign key?

1326


Please can the SQL code below be interpreted IF @xMatchCriteria='MATCH12' BEGIN IF EXISTS (Select * from #InsightData where (EmailAddress=@xDCPEmailAddress ) ) BEGIN SET @xTestMatchCriteria = @xMatchCriteria; SELECT @xCRMCustomerId=CustomerId, @xCRMDcpCustomerId=DcpCustomerId, @xCRMPortalCustomerID=PortalCustomerID,@xCRMDcpID=DcpID, @xCRMCardNumber=CardNumber, @xCRMEmailAddress=EmailAddress, @xCRMfirtLetterFirstName=firtLetterFirstName, @xCRMLastName=Surname,@xCRMAddressLine1=AddressLine1, @xCRMPostCode=PostCode FROM #InsightData where (EmailAddress=@xDCPEmailAddress ) END ELSE BEGIN SET @xTestMatchCriteria='No'+@xMatchCriteria; END END

192


Table - Products has number of products as below Productid ProductName 1 iPhone 2 iPad 3 BlackBerry Table - SalesPersonProduct has the below records Salespersonid productid S1 1 S1 2 S1 3 S2 1 S3 2 Write a SQL query that returns the total number of sold products

1421


What is striped backup

916


Hi Team, This is kartik, I recently completed my B-tech. Importance of posting this question is for to know the best books on SQL(MYSQL/Oracle)? I like SQL concept's so much, at the same time i decided to choose SQL for my career purpose. So please suggest me the best books that are very helpful for a fresher to improve concepts like (SQL/PLSQL)Basics, programming concepts, architectures etc. Please consider my request as an important one. I am very thankful to you for providing this opportunity. If possible can you please send the names of books for my personal id also: karthikgdv1206@yahoo.com. Thanks, Kartik T

839


How to enable or disable a row of a table using MySQL in struts?

2346


how to get only updated, deleted , inserted records after certain interval time in mysql with out using triggers...

856


why not null is not allowed at table level

1148


suppose data is copie to oracle to sql by using DTS. Actully it taken 2 hours. suppose some day distribute the server in the middle of 2 hours. after how can i get the data ?

806


I want to insert userid of a customer,order time,etc in a table called ordermaster with orderid as primary key.Same time the product codes and required quantities (a1,2 and a2 4 and so on)inserted in another table orderdetails with same orderid reference.How the code will be in JSP using MySQL?

618


I've looked but can't find a MySQL equivalent for MS SQL's xp_cmdshell. I have 7z files that I want to unzip and load into MySQL. I'm trying to write a sp to do the unzip, but I can't find a way to do that. Can anyone provide an example of a similar process in Windows? TIA.

1787