Most answered questions in Database

0 votes
1 answer

How to schedule a job for sql query to run daily?

Hii, To schedule a job for sql query ...READ MORE

May 4, 2020 in Database by Niroj
• 82,800 points
4,365 views
0 votes
1 answer

How do I kill all the processes in Mysql “show processlist”?

Hello kartik, Mass killing operation saves time. Do it ...READ MORE

May 4, 2020 in Database by Niroj
• 82,800 points
2,853 views
0 votes
1 answer

How to empty a redis database?

Hello @kartik, You have two options: FLUSHDB - clears currently ...READ MORE

May 4, 2020 in Database by Niroj
• 82,800 points
1,322 views
0 votes
1 answer

Error Code: 2020. Lost connection to MySQL server during query

Hello @kartik, I got the same issue when ...READ MORE

May 4, 2020 in Database by Niroj
• 82,800 points
3,010 views
0 votes
1 answer

MySQL Error: : 'Access denied for user 'root'@'localhost'

Hello @kartik, I did this to set my ...READ MORE

May 4, 2020 in Database by Niroj
• 82,800 points
18,788 views
0 votes
1 answer

Warning: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock)

Hii I was having the same problem and ...READ MORE

May 4, 2020 in Database by Niroj
• 82,800 points
2,921 views
0 votes
1 answer

Error:Import SQL dump into PostgreSQL database

Hello, Here is the command you are looking ...READ MORE

May 4, 2020 in Database by Niroj
• 82,800 points
5,947 views
0 votes
1 answer

How can I connect databases server to EC2 server?

Hi@Trinu, You can create one database in AWS ...READ MORE

May 1, 2020 in Database by MD
• 95,460 points
1,381 views
0 votes
1 answer

I have to build a school website How can i connect databases to the instance (ec2) and what is the best AMI for my webserver INAWS ???

Hi@Trinu, I don't think your database is depends ...READ MORE

May 4, 2020 in Database by MD
• 95,460 points
1,266 views
0 votes
1 answer

ERROR 1006 (HY000): Can't create database 'test' (errno: 2) in mysql

Hi@akhtar, You have to change the permissions or ...READ MORE

Apr 14, 2020 in Database by MD
• 95,460 points
8,768 views
0 votes
1 answer

Sir please tell me how to import image in database?

Hello soumadip, (Assuming you are using mysql database) You ...READ MORE

Apr 1, 2020 in Database by Niroj
• 82,800 points
1,323 views
0 votes
1 answer

Can't connect to mysql server in workbench. Kindly please support. username: root & Password: 1234 (i gave)

Hey, @Arivukani, You can see once thing, the solution ...READ MORE

Mar 30, 2020 in Database by Gitika
• 65,730 points
2,117 views
0 votes
1 answer

Interface for MariaDB after installed in Window

If you are talking about a Graphical ...READ MORE

Mar 16, 2020 in Database by Sirajul
• 59,190 points
1,368 views
0 votes
1 answer

MariaDB for window 10 Beginner

Refer the following: To know how to install ...READ MORE

Mar 16, 2020 in Database by Sirajul
• 59,190 points
1,262 views
0 votes
1 answer

Which is the Preferred Method of Storing Passwords In Database?

Generally, we can use the sha hash ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
1,331 views
0 votes
1 answer

Query to list number of records in each table in a database

Use the below code to list number of ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
1,754 views
0 votes
1 answer

How to connect to MySQL Database?

Firstly you must download the MySQLConnection NET ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
1,076 views
0 votes
1 answer

Which is better database vs. flat files?

Difference between database and flat files are ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
13,083 views
0 votes
1 answer

Reorder or reset auto increment primary key

To reset the IDs of my User ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
3,441 views
0 votes
1 answer

How to check if a table exists in a given schema

Since you havent mentioned the DBMS in ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
3,148 views
0 votes
1 answer

MySQL query finding values in a comma separated string

To find MySQL query values in a comma-separated ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
3,667 views
0 votes
1 answer

How does database indexing work

If you have a book about dogs ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
995 views
0 votes
1 answer

Can we store images in database

Beware that serving images from DB is ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
1,346 views
0 votes
1 answer

showing an error in a MySQL trigger

use this code: CREATE TRIGGER sample_trigger_msg ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
2,911 views
0 votes
1 answer

How do I reset a sequence in Oracle?

 If you want to set it to ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
1,202 views
0 votes
1 answer

Why is SELECT * considered harmful?

If you add fields to the table, ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
1,272 views
0 votes
1 answer

Which is faster/best? SELECT * or SELECT col1, col2,......colN

There are four big reasons that select * is ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
1,034 views
0 votes
1 answer

How to load data of .csv file in MySQL Database Table?

At first, put the dataset in the ...READ MORE

Jul 5, 2019 in Database by Reshma
1,825 views
0 votes
1 answer

How can I change my existing database name?

Hey Partha, I understand your problem, I think this ...READ MORE

Jul 5, 2019 in Database by sampriti
• 1,120 points
1,541 views
+1 vote
1 answer

Do I need to mention primary key for each table?

Hi Pritha, First, there is no hard and ...READ MORE

Jul 4, 2019 in Database by sampriti
• 1,120 points
1,424 views
0 votes
1 answer

What is the rule to use group by, having and where clause?

Hi samar, this is a very common mistake ...READ MORE

Jul 2, 2019 in Database by anonymous
1,574 views
+1 vote
1 answer

How can I reset my auto_increment column in MYSQL?

Hi Pratim, I understand your issue. I think you ...READ MORE

Jul 2, 2019 in Database by sampriti
• 1,120 points
1,448 views
0 votes
1 answer

How can I check my all existing table in MySQL database?

Hi Pratik, I understand your problem regarding this ...READ MORE

Jul 1, 2019 in Database by sampriti
• 1,120 points
1,680 views
0 votes
1 answer

Can you explain what is the difference between UNION and Join?

Hi Sahana,  I got your doubt, Checkout these ...READ MORE

May 30, 2019 in Database by sampriti
• 1,120 points
1,693 views
0 votes
1 answer

How to sort the data in sql ?

Hi Akash,  If you want to sort ...READ MORE

May 29, 2019 in Database by sampriti
• 1,120 points
1,443 views
0 votes
1 answer

Do I need to add primary key in each and every table?

Hi Shraddha, You have a doubt to add ...READ MORE

May 29, 2019 in Database by sampriti
• 1,120 points
1,765 views
0 votes
1 answer

How will I get all the rows from my table where name starts with 's' and ending with 'I'?

Hi Santanu, I understand your problem, You can try ...READ MORE

May 28, 2019 in Database by sampriti
• 1,120 points
2,432 views
0 votes
1 answer

Can you please explain the difference between inner join and outer join in database?

Hi Suraj, You have a doubt regarding inner join ...READ MORE

May 28, 2019 in Database by sampriti
• 1,120 points
1,444 views
0 votes
1 answer

What are the different types of join in SQL?

Hi Suraj, You have a doubt regarding inner join ...READ MORE

May 28, 2019 in Database by sampriti
• 1,120 points
1,565 views
0 votes
1 answer

What is the best way to fetch data from table?

Hey Shraddha, I understand your doubts about fetching ...READ MORE

May 25, 2019 in Database by sampriti
• 1,120 points
2,321 views
0 votes
1 answer

Create new role - postgresql on ubuntu

If you are logged in as the postgres account, ...READ MORE

Mar 22, 2019 in Database by Danny
1,420 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

Mar 22, 2019 in Database by Mahi
1,181 views
0 votes
1 answer

Switch to postgresql acoount

Switch over to the postgres account on your server ...READ MORE

Mar 22, 2019 in Database by Kyraa
1,304 views
0 votes
1 answer

What are the prerequisites to install PostgreSQL on Ubuntu?

Before you start installing postgreSQL, make sure ...READ MORE

Mar 22, 2019 in Database by Manoj
1,148 views
0 votes
1 answer

How do I install MariaDB on Windows?

Hwy @Mike, install the latest stable version ...READ MORE

Mar 22, 2019 in Database by Nitin
2,125 views
0 votes
1 answer

MSSQL installation fails at mssql-conf setup

Hi @Denis!  The problem has occurred due to the ...READ MORE

Mar 22, 2019 in Database by Omkar
• 69,180 points
5,747 views
0 votes
1 answer

Install DB2 on windows

Hey @Alok, follow these instructions: On the DB2 ...READ MORE

Mar 20, 2019 in Database by Kavyashri
2,758 views
0 votes
1 answer

DB2 installation paths rules

These are the following rules you need ...READ MORE

Mar 20, 2019 in Database by Kyraa
775 views
0 votes
1 answer

Restrictions while installing DB2 Server on Linux using DB2 Setup Wizard

Hey it would be helpful if you ...READ MORE

Mar 20, 2019 in Database by Yesha
997 views
0 votes
1 answer

Install DB2 on Ubuntu

Hey @Dipti, follow these steps to install ...READ MORE

Mar 20, 2019 in Database by Kanika
2,501 views