Mysql problems in creating a database

Discussion in 'MySQL' started by alluremedspa123, Sep 15, 2012.

  1. #1
    Guys please help me with this php and mysql prob I just installed a phpdev5 bundle and when I tried to use phpmyadmin at first I was able to create a database then after I restart it gave me a error Database running on localhost
    Error

    [COLOR=blue !important][COLOR=blue !important]SQL[/COLOR][/COLOR]-query :
    CREATE DATABASE
    MySQL said:

    You have an error in your SQL syntax near '' at line 1
    what should I do I`m really a newbie here I just want to branch out from graphic design to web developing please help thanks please reply
     
    alluremedspa123, Sep 15, 2012 IP
  2. matt_62

    matt_62 Prominent Member

    Messages:
    1,827
    Likes Received:
    515
    Best Answers:
    14
    Trophy Points:
    350
    #2
    i dont get what the error is. what query are you trying to run (as far as i know colour isnt a query)

    Have you setup the tables in the database? (i prefer http://www.webyog.com/en/ for creating databases and tables)
     
    matt_62, Sep 15, 2012 IP
  3. abhishekabhi

    abhishekabhi Greenhorn

    Messages:
    57
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #3
    HI

    You can create database below:
    create database databasename
    you must create database in master database.
     
    abhishekabhi, Sep 21, 2012 IP