Jump to content

Mysql not working


Chikwado

Recommended Posts

Mysql procedural "CREATE DATABASE" not working, I have written the code exactly the way it appear in the tutorial. But it return error insted of creating the database. I am using xampp version: 5.6.3, Some one help.
Edited by Chikwado
Link to comment
Share on other sites

All of that information is already online in the MySQL manual. Instead of me looking that up and linking you to it, or copying and pasting the information, just look it up yourself. You don't need to wait for answers that are already online.

Link to comment
Share on other sites

Some one take a more look at this syntax: I used the following syntax to create a user, but it return error.

CREATE USER 'user'@'localhost'   IDENTIFIED BY ' ***** ';
To grant user:
GRANT ALL PRIVILEGES ON  * . * TO 'localhost';
I got the following error:
'CREATE' is not recognized as an internal or external command,
some one check it.
Link to comment
Share on other sites

did you mean to connect to the mysql server first before trying to run those commands at the prompt? what happens when you try and run them in PHPMyAdmin or similar tool?

Link to comment
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
×
×
  • Create New...