InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Category: MySQL

What is MYSQL ? – Structured Query Language (SQL)

Sharleen KaurMySQLLeave a Comment on What is MYSQL ? – Structured Query Language (SQL)

MYSQL (Structured Query Language) is an open-source relational database management system (RDBMS). It is widely used for managing and organizing data in databases. It uses Structured Query Language (SQL) for accessing, adding, and managing the data held in a database.…

Read More→

How to select or update MySQL table rows by even or odd number field value

Arvind KumarMySQLLeave a Comment on How to select or update MySQL table rows by even or odd number field value
mysql-logo

In this simple tutorial I will show to select or update rows in your mysql table based on a stored even or add number in a specific field of your table. Your result might look like this: For example you…

Read More→

How to create a user in MySQL/MariaDB and grant permissions on a specific database

Arvind KumarMySQLLeave a Comment on How to create a user in MySQL/MariaDB and grant permissions on a specific database
mysql-logo

To create a user in MySQL or MariaDB and granting it permissions to access a database is a basic task when deploying a new website on a LAMP stack server. To read and write data on a database is a very common…

Read More→

How to enable MySQL slow query log and analyze it on Linux

Arvind KumarMySQLLeave a Comment on How to enable MySQL slow query log and analyze it on Linux
mysql-logo

MySQL slow query log is helpful when you needed to debug slow down or failure of your MySQL server. Slow query log can house queries which took more than n number of seconds.

Export, Import MySQL db between different servers through Linux command line

Arvind KumarLinux, MySQLLeave a Comment on Export, Import MySQL db between different servers through Linux command line
mysql-logo

You should have Database name, Database Username, Database Password and command line access to your server Export database to local file system, for example /var/www/html

MYSQL – Useful commands you must know – Part-1

Arvind KumarMySQLLeave a Comment on MYSQL – Useful commands you must know – Part-1

To know the current MYSQL version: SELECT version(); To format and formulate a float value: FORMAT(SUM(amount) * 0.6, 2) The above line sums up entire amount value, cut it down to 60% of total value and returns value precised up…

Read More→

MySQL ‘show tables’: How to list tables in a MySQL database?

Arvind KumarMySQLLeave a Comment on MySQL ‘show tables’: How to list tables in a MySQL database?
mysql-logo

This is very commonly asked question: How do I show or list all the tables in a MySQL (or MariaDB) database using mysql command line tool? In brief, to show the tables in a MySQL database, run the command:

How to Replace a Text String in a MySQL Table Field Value

Arvind KumarMySQLLeave a Comment on How to Replace a Text String in a MySQL Table Field Value
mysql-logo

In this simple tutorial you will learn to replace a text string in a MySQL table field value. I have a races table in which I store race event information. In the date field I store event date. Since these…

Read More→

Updating two columns with a subquery in MySQL

Arvind KumarMySQLLeave a Comment on Updating two columns with a subquery in MySQL
mysql-logo

Sometimes you wanted to update columns of one MySQL table by quering another MySQL table and getting a column value from the later table. For example you have a ‘students’ table and you wanted to create a new field ‘totalMarks’…

Read More→

To print the table structure of MySQL table in PHP

Arvind KumarMySQL, PHPLeave a Comment on To print the table structure of MySQL table in PHP
A simple way to debug a php application in production mode

You can print the table structure of MySQL table in PHP using simple php script. All you need to do is to make a ‘describe table’ call and process it using php script, similar to one you use to print…

Read More→

Posts navigation

1 2 Next
  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • Build Reusable Components in React
  • Introduction to Node.js for Beginners
  • Getting Started with the MERN Stack: A Beginner’s Guide
  • Introduction to Node.js for Beginners
  • How to Modify WooCommerce Templates

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms
Facebook
fb-share-icon
LinkedIn
Share
WhatsApp
Follow by Email
Twitter
Post on X
Reddit
Pinterest
Instagram
RSS
Telegram