MySQL - How to set password for the root

Go to MySQL bin directory and use mysqladmin command to set password

mysqladmin -u root password sasikala

then login as

mysql -u root -psasikala

To change the root password

mysqladmin -u root -pold_password password new_password

The new password will be set to the root user.

IT / Computer - Acronyms and Abbreviations

1. ODBC means open data base connectivity

2. ASCII stands for american standard for information interchange

3. FLOPS stands for floating point operation per second

4. RAID stands for redundant array of independent disks or redundant array of inexpensive disks

Laptop Battery Long run

Recently my laptop battery is not working. My laptop powers on only if it plugged in cable. It is not getting charged. I took it to service center, they replaced with battery and gave some tip for battery long life. I am sharing the tip with you all.

Charge the battery maximum level possible and unplug the cable. Work till it goes minimum level then recharge it back.

If you charge up to 80% or 90% or 95 or 100% and unplug it. Use the charged power till it goes to minimum level possible. So whatever input given,let it produce output.

If you keep input, output side capacity losses. for example if you power up to 90% and using it, when power goes to 50% or 60%, again if you recharge it. The output is not properly utilized so battery loss the capacity.

Try this idea maximum possible times. Don't go with 10% power for presentations and meetings to follow this idea :-), just kidding.

Unix - Questions - Interview / Learning

1. To display the contents of a executable file the following command can be used

Ans : od

2. Assume the current directory contains 10 files and does'nt contain 'temp'. What will be the output of the follwing commands?

$ls > temp
$wc -l temp

Ans : 10

IITM - General Model Questions

1. 6*12*15 is the volume of some material. How many cubes can be inserted into that?

2.Two pipes can fill a tank in 10 1nd 12 hours while third pipe will make the tank
empty in 20 hours.If all three pipes operate simultaneously,in how many hours the
tank will be filled ?

3.Diameter of a beaker is 7cm. Mambler(some instrument)dia is 1.4cm.How many mamblers
has to be put to increase the water level by 5.6cm.

4.Cost of an item is x. It's value increases by p% and decreases by p%Now the new value
is 1 rupee, what is the actual value.

5.A right circular cylinder and a cone are there.Base radius of cone is equal to radius
of cylinder.What is the ratio of height to slant side.

6.Distance between two poles is 50 meters.A train goes by 48 kmph in one minute.How many
poles will be crossed by the train.

7.A pole seen from a certain distance at an angle of 15 degrees and 100 meters ahead by
30 degrees. What is th height of pole.

8.15 people--each has to pay Rs.20.. 20 people--each has to pay Rs.18.. for 40 people--how
much has to pay ?

9.if p=2q then q=r*r,if p-odd then q is even,whether we decide r is even or odd ?

a)first condition is sufficient
b)second condition is sufficient
c)both are sufficient
d)both are not sufficient

10.What is the value of m given that

i) m is devided by 2
ii) m is devided by 5

Continue Read

ShareThis

Syndicate content