Question about instructions in "Drupal: Creating Blogs, Forums, Portals, and Community Websites" by David Mercer
I am employing this book to help me to set up a local Drupal development and test learning environment in my home on a Windows 2003 Server R2 standard edition.
On page 39, I’ve gotten past “Flushing Privileges” (step 7) and quit. The term “bye” appears.
Everything has gone perfectly by the book upto this point.
I’m at the operating system command prompt.
My Apache2Triad web server is installed in G:\Program_Files\
I have installed Drupal-5.1
I’m inspecting the command line instruction in step 8: $> mysql –u drupal –p Drupal < c:/apache2triad/htdocs/Drupal-4.7.0/database/database.4.1.mysql
I have no clue as to the meaning of the $> prompt that follows in step 8
Why the foreslash “/”, throughout the instruction?
In what path should I be executing this command line instruction?
Comments
Its for linux
That way of writing is for linux systems. The $> is just the prompt - its the same as C: on a Windows system. Linux also uses the forward slash to separate folders, while Windows will use the backslash.
So for windows users, that command will look like this:
C:mysql –u drupal –p Drupal < c:\apache2triad\htdocs\Drupal-4.7.0\database\database.4.1.mysql
______________________________________________________________________________________________________
Need help? Check the FAQ and the Handbooks first.
______________________________________________________________________________________________________
=-=
be careful using that book with Drupal 5.1, some of the information in that book may not apply to Drupal 5.x .... the book was written with Drupal 4.x
Mercer's book.
Hello. I am exactly at the position where this thread had started a few months ago.
Just installed drupal on my WindowsXP, and started following the book until I got stuck.
My question is what to do now. I installed version 5.2 on my machine, the book was written with 4.7, and my server has.. 5.1..
If there was backward support, I guess I would work with version 4.7 on all, but I understand there isn't, and code for 4.7 might not work on 5.1
Any suggestions would be appreciated, these are only my first minutes with drupal.
Thanking you.
Shay.
=-=
The theories in the book still apply even if the code does not.
The book to get your hands on is Pro Drupal Development which was written on 5.x code base and can be purchased at http://drupalbook.com
As far as yoru server is concerned you should update that to Drupal 5.2 and not use a 5.1 install. 5.1 had some security issues including but not limited to a problem in settings.php. Which needs to be replaced in a 5.2 update. Quitie a few bug fixes went in as well, particularly with the profile.module which was not working correctly in 5.1.
_____________________________________________________________________
Confusious says:
"Those who seek drupal answers should use drupal search!" : )
VeryMisunderstood Many
VeryMisunderstood Many thanks for your reply.
Until ProDrupal will arrive, I was wondering if anyone can tell me please what is version's 5.2 equivalent of:
'mysql -u drupal -p drupal < c:/apache2triad/htdocs/drupal-5.2/database/database.4.1.sql'
The directory 'database' does not appear under 'htdocs/drupal-5.2'. I also couldn't find anywhere under the drupal directory a file called database.5.2.mysql.
Thanking you.
Shay.
=-=
There isn't one, Drupal 5.2 has its own installer, thus no need to manually install the db tables.
table insertion is handled by modules/system/system.install i believe. Just like modules.
_____________________________________________________________________
Confusious says:
"Those who seek drupal answers should use drupal search!" : )
check out the handbooks
here: http://drupal.org/node/176817
There is also an install.txt with the download that includes instructions.
If you need something ore basic, then check this out
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
brilliant! Thank you guys.
brilliant! Thank you guys.