Jump to content

[MERGED] MySQL command


jodiestjohn100

Recommended Posts

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.