Results 1 to 2 of 2

Thread: MySql help

  1. #1
    Join Date
    Sep 2008
    Beans
    19

    MySql help

    hey could some one please help me ? iam trying to populate these two scripts; one creates 5 tables and the other script populates them .. i have mysql and i ran this script to create the tables for the db name 'factory ' : "mysql factory -u root -p <create.txt " but it errored on me and gave me this output : http://paste.ubuntu.com/49190/ could some one help me please ?


    thank you

    cheeky_lankan

  2. #2
    Join Date
    Nov 2005
    Location
    Carmel, Indiana U.S.A.
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: MySql help

    You have a syntax error in your sql statement. Post the script here for further help -or- debug the query your self by inserting something like:

    PHP Code:
    $sq1="select * from tb1 where id>17";

    print 
    '<br>sq1='.$sq1
    IndyTim
    New Build : Core 2 Quad, 8G RAM, 1.75TB Storage ... it's fun!
    GRUB Partition Linux Backups- Ver2 Easy LAMP Install
    Linux ID 422356 Ubuntu User 15015

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •