jodiestjohn100 Posted January 13, 2011 Share Posted January 13, 2011 I have PHP and MYSQL Web Development Fourth Edition by Luke Welling and Laura Thompson I am on Chapter 9 Creating Your Web Database on Page 230 my -h host -u bookorama -D boos -p < bookorama.sql I have been tring to make this code work for 3 weeks and no luck. Can anybody Help Me on this line. They are not clear enough on this line but the book is an awesome book, learning alot. Link to comment https://forums.phpfreaks.com/topic/224274-merged-mysql-command/ Share on other sites More sharing options...
Pikachu2000 Posted January 13, 2011 Share Posted January 13, 2011 You're going to need to be a lot more specific about the problem you're having. Link to comment https://forums.phpfreaks.com/topic/224274-merged-mysql-command/#findComment-1158741 Share on other sites More sharing options...
President Obama Posted January 13, 2011 Share Posted January 13, 2011 I learnt a lot about php/mysql from tizag.com and from the php manual. Never used an ebook. Link to comment https://forums.phpfreaks.com/topic/224274-merged-mysql-command/#findComment-1158745 Share on other sites More sharing options...
jodiestjohn100 Posted January 13, 2011 Author Share Posted January 13, 2011 I have the book PHP and MYSQL Web Development Fourth Edition by Luke Welling and Laura Thomson. I am on Chapter 9 "Creating Your Database". On Page 230, It ask you to type a command to read a text file to set up your database and the command is mysql -h host -u bookorama -D books -p < bookorama.sql I know that I do not need -h because I am using my own machine. I been trying this for 3 weeks or longer and I can not get it to work. I tried this C:\PHP\xampp\mysql\bin\mysql.exe –u bookorama –D books –p bookorama123 any Idea Link to comment https://forums.phpfreaks.com/topic/224274-merged-mysql-command/#findComment-1158749 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.