MySQL RPM Installation

Step 1: click the https://downloads.mysql.com/archives/community/  and download the mysql RPM Bundle
            bundle file name example: mysql-5.7.33-1.el7.x86_64.rpm-bundle.tar
            
step 2: untar the bundle, use below command
            tar -xvf mysql-5.7.33-1.el7.x86_64.rpm-bundle.tar
            
step 3:    please provide excute privileges on all untared rpm files
            chmod u+x mysql*.rpm
            
step 4: 
        install the rpm file(offline method)
            rpm -ivh mysql*.rpm
                    (OR)
        install the rpm file (online method)
            yum install mysql*.rpm
            
step 5:start the server
            service start mysqld
            
step 6:configuration file:
            /etc/my.cnf
            
step 7:get temp password - check MySQL Error log file

step 8:run mysql_secure_installation
        mysql_secure_installation
                (enter root@localhost temp password)
            enter new password for root (DB Level) user
        press enter all questions - laste line you are get "All done!"
        
step 9: connect mysql
        
            mysql -uroot -p
            mysql>show databases;
            mysql>q

Popular posts from this blog

Oracle Database 19C Performance Tunning - PART 1

Oracle RMAN Backup And Restore

Oracle Patching Using Opatch Utility

Welcome to DBA Master – Database Tips, Tricks, and Tutorials

Oracle 19c Database Software Installation in OEL8

PostgreSQL Triggers

PostgreSQL Opensource Installation in RHEL or Oracle Linux(OEL) 8 and above

PostgreSQL Cursor

PostgreSQL Procedures

PostgreSQL User & Role Management