Jump to content
Larry Ullman's Book Forums

Recommended Posts

Help,

 OK was able to create my database, all is working fine. When I was trying to INSERT the information is what I need help with.

I keep getting a ~>

Not sure what to do there???

Thank you

Share this post


Link to post
Share on other sites

You haven't provided much information, but that cursor in the MySQL client indicates you have started a string--you have an opening single quote--and it's waiting for you to complete the string.

Share this post


Link to post
Share on other sites

Larry,

 Sorry for the lack of information. I'm new to this. But thank you for the feed back. That is what I get when I write this code.

 

INSERT INTO users

(first_name, last_name, email, pass, registration_date)

VALUES ('Mike','Burns','email@wow.com','SHA1('mypass'), NOW());

'>

 

This is what happens???

Thank you

Mike

Share this post


Link to post
Share on other sites

In what interface are you seeing this? When running a script or when using the command-line MySQL client or...?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×