1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

WAMP-mysql error

Discussion in 'MySQL' started by canavarPC, Aug 12, 2009.

  1. #1
    [​IMG]

    I decided to learn php, mysql and installed WAMP to "C:\wamp" and tried to define a password according to a CD tutorial that I obtained recently. but when i write the last line "WHERE user=.'root'..." on mysql console there shows up an ERROR message. I don't understand why this is happening. (using on Vista.)

    I appreciate your helps.
     
    canavarPC, Aug 12, 2009 IP
  2. Codex-m

    Codex-m Peon

    Messages:
    36
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I suggest to give XAMPP a try. In XAMPP, a single installer contains bundled PHP, Apache and mysql applications but an excellent user friendly admin page that you can customize your PHP and MySQL settings. This means you do not need to set complicated syntax like what you do in WAMP.

    About the error you receive, it is a mysql syntax error, in MySQL i use:
    Try using different style of quoting a variable:, one way to test besides number 1 in your keyboard that gives this: `
    If not try this: ' (single quote below double quotation in your keyboard).
    Try to see what works for you
     
    Codex-m, Aug 12, 2009 IP
    canavarPC likes this.