How to install MySql 5.6 in RHEL6 , if Internet connectivity is not there
Installing MySql 5.6 in My Linux Server RHEL6 , but problem was that there was no internet connectivity in server .
so for installing MySql need to download three .rpm file , that you can download from any other another internet connected pc and put those rpm file in RHEL6 Machine .
MySQL-server-5.6.16-1.el6.X86_64.rpm
MySQL-client-5.6.16.el6.x84_64.rpm
MySQL-embeded-5.6.16-1.el6.x86_64.rpm
i have installed all three rpm by using command :
rpm -ivh server then rpm -ivh embeded then rpm - client .
but when i started service ,service shows ,there is no mysql service available in ,so i tried to uninstall by using command
rpm -ev .rpm file ..........................................
but it is showing rpm file is not installed . after searching from multiple troubleshoot ,i have found a solution to uninstall rpm file by using below mentioned command :
rpm -ev --nonscripts make sure , remove .rpm extension from the file name for uninstalling the file ..
after uninstalling successful , now i am getting error while again installing , due to conflicting of few sql files with existing file in mysql server .
so in this case ,use --force key , ex : rpm -ivh --force .
in this way i am able to install mysql5.6 in server .
---------------Now How to setup UserName and Password for same -----------------------------------------
First : run command = mysql_safe --skip-grant-tables &
Second : mysql -u root
by this you will enter into mysql cli .from here like as usual ,we can set username and password
by below mentioned command:
so for installing MySql need to download three .rpm file , that you can download from any other another internet connected pc and put those rpm file in RHEL6 Machine .
MySQL-server-5.6.16-1.el6.X86_64.rpm
MySQL-client-5.6.16.el6.x84_64.rpm
MySQL-embeded-5.6.16-1.el6.x86_64.rpm
i have installed all three rpm by using command :
rpm -ivh server then rpm -ivh embeded then rpm - client .
but when i started service ,service shows ,there is no mysql service available in ,so i tried to uninstall by using command
rpm -ev .rpm file ..........................................
but it is showing rpm file is not installed . after searching from multiple troubleshoot ,i have found a solution to uninstall rpm file by using below mentioned command :
rpm -ev --nonscripts
after uninstalling successful , now i am getting error while again installing , due to conflicting of few sql files with existing file in mysql server .
so in this case ,use --force key , ex : rpm -ivh --force
in this way i am able to install mysql5.6 in server .
---------------Now How to setup UserName and Password for same -----------------------------------------
First : run command = mysql_safe --skip-grant-tables &
Second : mysql -u root
by this you will enter into mysql cli .from here like as usual ,we can set username and password
by below mentioned command:
ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPass');ok it's done ...........................
Q : how to take remote of windows from linux .
Ans : install yum -y rdesktop or rpm -qa rdesktop . then use command rdesktop for taking remote
Comments
Post a Comment