Memory serves us Oct03 '04
Some things I can never seem to commit to memory:
MySQL login
The most efficient way to log into MySQL from the command line:
mysql -h abc.matthom.com -p -u username dbname
(I always forget the order of where the -h, -p, and -u go.)
Localhost and root directory
Developing sites locally saves loads of time, since there is no uploading involved.
For Windows and Mac, the URI to the localhost is different, as well as the directory where the web files are stored:
Mac:
- URI:
http://127.0.0.1/~Username/ - Directory:
//Username’s Mac/Users/Username/Sites/
Windows:
- URI:
http://localhost/ - Directory:
C:\Inetpub\wwwroot
Categories: Miscellaneous
, Web Development ![]()
Add Feedback (view all)
Leave feedback
Ah good old mysql. You just install it and watch it work its wonders. Although a good tweaking can really bring its performance up. ... Read more.
matthom
is published and produced by Matt Thommes - an independent publishing enthusiast, mobile blogger, content creator, informative writer, web developer from Chicago.
Never one to conform, Matt intends to promote the effect the web has on our lives, in an effort to intensify, instruct, and clarify all that is happening around us.
Similar Entries
- In memory of Dusty Anne Thommes (1 recent visits)
- Dream, or memory? (3 recent visits)
Stats
3 unique visits since November 2008
As they say. There's no place like home ... Read more.