mysqld_safe is wrapper used to mysql server startup and is recommended way to start a mysqld server on UNIX
mysqld_safe provides safety feature such as restarting the server when error occurs and write run time information to error log
mysqld_safe tries to start and executable mysqld to override the default behavior and specify explicitly the name...
Creating User Account in MongoDB
For any database whether it is RDBMS or NoSQL, the user account is a very important aspect and is a must to connect to a database
There are different types of users depending on usage like, admin user account, read-only account, read write only.
Users can be created or added to the database using db.createUser() method available with MongoDB
The...
Table Creation in PostgreSQL
We have created database tech_db in previous article, now we will create tables in PostgreSQL database. Table creation in postgres is very much similar to creating table in any other RDBMS database, we can make use of data types described here
In oracle we use desc to see definition of any table in PostgreSQL, we use \d or \d+ to see list...
Different Server Logs in MySQL
The log files are always important part of any database,whether it is RDBMS database or NoSQL database.
log files make troubleshooting job easy and indicates lo of ways to analyze performance issues.
Below is the list of logs available in MySQL
Log type
Information written to log
Error log
Problem encountered during starting,...
Database Creation in PostgreSQL
Creating the database in PostgreSQL is a very simple task, it's like creating a directory structure. We will discuss the steps to create a new database.
Login to the Postgres instance using the admin account
$ psql
-d postgres -U...