192.168.0.6 newsolaris
Step 2: Change /etc/nodename
echo "newsolaris" > /etc/nodename
Step 3: Update /etc/hostname.
echo "newsolaris" > /etc/hostname.e1000g0
Step 4: Set the hostname using uname
uname -S newsolaris
जय शिवाजी !! जय महाराष्ट्र !!
If you forgot root password for your MySQL server, you can follow the steps below to reset it.
1. Login to the server as root and stop MySQL service.
# /etc/init.d/mysqld stop
2. Start mysqld_safe service.
# mysqld_safe –skip-grant-tables &
3. Login to MySQL server now. It won’t ask you for a password.
# mysql -u root
4. Set up a new MySQL root user password:
mysql> use mysql;
mysql> update user set password=PASSWORD(”NEW-ROOT-PASSWORD”) where User=’root‘;
mysql> flush privileges;
mysql> quit
5. Restart your MySQL service.
# /etc/init.d/mysqld restart
6. Try to login using new password. It should work fine.
# mysql -u root -p
That’s it !!!
ऐलतीरावर सुख। पैलतीरीं नांदे दुःख ।
मधें वाहतें जीवन । हेंच संसाराचे रूप ।।
ताटातुटीसाठीं का रे । देवा खेळ हा मांडीला ।।
देवपणा सांग त्यांने । तुझा खरा काय झाला ?
विघ्नहर्त्या विनायका । तुला पार्वतीची आण ।
रमा-माधवा संभाळ तुझे आठवीण गुण ।।
रणजीत देसाई यांच्या 'स्वामी' या कादंबरीतून ...