Archive for the Category » Linux «

Sunday, November 29th, 2009 | Author: admin

Firstly through the command prompt on a Windows box.

Windows+r (brings up the run command)

type the letters: cmd

press the enter key (opens a terminal window)

type the characters: cd\ (brought the prompt to the root directory)

press the enter key  (brought the prompt to the root directory)

type the characters: mysql

press the enter key  (changed the prompt to the mysql command line interface. This will now only like mysql commands. Type exit or quit and press enter to get out of it and back to normal command prompt)

type your password

press the enter key

type the characters: source C:/location/of/your/file/here.sql;

I don’t know where you file is, but you should. If not, that walk through is outside the scope of this document.

NOTE: you do need that semicolon at the end of the line.

TA DA!!!

You should be good to go and see scrolling text at this point. When its done you can close the window. OR be nice ot it and type exit and press the enter key and then close the window.

Sunday, November 08th, 2009 | Author: admin

Another thing they don’t feel like telling you on their wonderful walk throughs.
About 80% of the commands they give you need to have the “sudo” command before them, or the command they told you to run either, wont or it will run, and not do what they said it would because it’s not being run with elevated permissions.

Once in a while I do see one that says at the beginning “the following commands assume your running as root” or something to that effect. But the majorities just list our codes and what they should do, while secretly their original writers are snickering away in some office or home somewhere that they didn’t give you the secret sauce and consequently just cost you another X hours of work redoing the whole thing, now as root.

This is the same group of people who for some reason are scared to death of someone actually using the root account as just that, a real user account who can DO something to this system.

I appreciate a good practical joke as well as the next person, but come on guy’s I think its been enough years of this. This is a petition to every walk through writer out there to list out the ACTUAL steps required and save n00bs hours of their lives. We were all there at some point.