Additional resources provided by google.
For me Hints never work. It closes all other doors of your thought and point you to only one window. When you don’t uses a hint you had a wider vision of all possible solution. Lets take an example of any maths problem,if you already seen the hint, you will never thought the other way, your mind will stuck at that point. And suppose a condition where you solved a problem by one of the possible method/solution you get in your mind and now get back to the same problem after few days (almost when you didn’t remember the solution) and now again try to solve the problem, most probably as my experience says you will solve it by some other method.This always happened to me, since i forgot things so easily, i always solve the same problem in different ways at different time. Hints may be good if your only aim is solve the problem, but it will hinder your growth.
mysql --max_allowed_packet=100M -u root -p database < dump.sql
If you are using drupal, you must have heard of drush, if not check it now, its the one of the awesomest thing in drupal.More links
Now i suppose you have drush installed on your system. So you can install drupal in three easy steps.
Drush dl drupal
mv drupal-7.x your_site_name && cd your_site_name
drush si --db-url=mysql://mysql_username:firstname.lastname@example.org/db_name --account-name=you_choose --account-pass=you_choose --account-email=your_email --locale=pt_br --site-name="Drupal Test"
Create your custom function into hook.