Database Tables Not Showing

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Database Tables Not Showing

    :confused; I am following the Tutorial for setting up the PHP/SQL GlobalCar
    Dynamic Page. Everything has gone fine until I got to Getting Started>Setup for
    sample PHP site>Connecting to the sample database>Creating the MySQL database.
    I made it fine in creating the database, but item number "7. At the system
    command prompt, populate the new GlobalCar database in MySQL with the following
    command: > mysql -uUser -pPassword GlobalCar < insert.sql
    This command uses the insert.sql file to add tables and records to the
    GlobalCar database you created in step 5."
    When I try, it gives a 1064 Syntax error. I have tried entering it several
    ways but still get the error. I'm using WinXP Pro. I've learned a lot from the
    tutorial and would like to follow it through. Any help getting those tables
    into the database would be appreciated. I'm trying to "graduate" from FrontPage
    to DW ;o)



    Khan44 Guest

  2. Similar Questions and Discussions

    1. SQL Server Tables Not Showing Up
      I have been coding in Dreamweaver for a while and have a connection to a SQL Server which resides on my server. As of the last couple days, my SQL...
    2. Tables not showing
      Hi, Could someone help me out, I tried to create a dynamic page using the built in tutorial of DW, but everytime I made an OLE database connection,...
    3. drawing tables; border set at None but still showing up in PDF
      I made up a table, i chose border weight: 0, color filL: none, and then border type: none... somehow, when i produce a PDF its still showing up with...
    4. Showing PDF documents from a SQL Database
      This is just off the top of my head, so let me know if it doesn't work. Be gentle <grin> Once you have the pdf bytes from the database, something...
    5. strangeness - lots of tables showing up in my dataset......
      Hi, I have an ASP.NET application that fills a dataset with data from 2 different tables. When I set a breakpoint at the beginning of the...
  3. #2

    Default Re: Database Tables Not Showing

    I would goto mysql.com and download one of there GUI interfaces for MYSQL.
    I personally use "MySQL Control Center".

    From your command line it looks as if you were trying to add a user and
    password then run a SQL statement.

    The GUI interface can do all that.


    "Khan44" <webforumsuser@macromedia.com> wrote in message
    news:cv4ceb$7tc$1@forums.macromedia.com...
    > :confused; I am following the Tutorial for setting up the PHP/SQL
    > GlobalCar
    > Dynamic Page. Everything has gone fine until I got to Getting
    > Started>Setup for
    > sample PHP site>Connecting to the sample database>Creating the MySQL
    > database.
    > I made it fine in creating the database, but item number "7. At the system
    > command prompt, populate the new GlobalCar database in MySQL with the
    > following
    > command: > mysql -uUser -pPassword GlobalCar < insert.sql
    > This command uses the insert.sql file to add tables and records to the
    > GlobalCar database you created in step 5."
    > When I try, it gives a 1064 Syntax error. I have tried entering it several
    > ways but still get the error. I'm using WinXP Pro. I've learned a lot from
    > the
    > tutorial and would like to follow it through. Any help getting those
    > tables
    > into the database would be appreciated. I'm trying to "graduate" from
    > FrontPage
    > to DW ;o)
    >
    >
    >

    Anthony Brown Guest

  4. #3

    Default Re: Database Tables Not Showing

    Try installing PHPMyAdmin from [url]http://www.phpmyadmin.net[/url]. Just download,
    unzip and change the config.php page to add your username and password for
    your master MySQL user and then upload to your site. Makes it really easy to
    create and administer databases and work with data, much easier than working
    from the command line!


    --
    Gareth - TMM Dreamweaver
    [url]http://www.dreamweavermxsupport.com/[/url]
    [url]http://www.garethdp.com/[/url]

    PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.
    [url]http://www.phploginsuite.co.uk/[/url]

    Co-Author: Dreamweaver MX: Instant Troubleshooter - Apress
    Co-Author: Practical Intranet Development - Apress
    Co-Author: Dreamweaver MX: Advanced PHP Web Development - Apress
    Co-Author: Dreamweaver MX: PHP Web Development - Wrox


    gareth Guest

  5. #4

    Default Re: Database Tables Not Showing

    I am not sure if I had (and solved) the same problem... I was using XP Pro
    too, and the problem of the databases (refered to by my connection) dissapeared
    in the dataset setup, update, and insert dreamweaver dialogs. This bug only
    happened after XP Service pack 2 was installed. There was no cure for a long
    time, but now there is. Search for XP PRO and SP2 in the dreamweaver forum, I
    don't have the URL to the extension plugin anymore that fixed it but the bug
    was caused by SP2. I am not sure if this applies to your environment, but the
    problem sounds similar (albeit in a different language and with a different
    database)

    RichMcCrea Guest

  6. #5

    Default Re: Database Tables Not Showing

    Originally posted by: Newsgroup User
    I would goto mysql.com and download one of there GUI interfaces for MYSQL.
    I personally use "MySQL Control Center".

    From your command line it looks as if you were trying to add a user and
    password then run a SQL statement.

    The GUI interface can do all that.




    I got it installed but cant find a single option to import the info from the
    insert.sql file in to the GlobalCar databse. The only options were "Create New
    Table" and "Edit Table". Thanks for the tip on the GUI, though.

    Khan44 Guest

  7. #6

    Default Re: Database Tables Not Showing

    What I do is open the sql in notepad, copy and paste that into the SQL query
    window in "MySQL Control".
    Basically, you open the program connect to your DB and click on the "SQL"
    button on the menu bar.

    That will open a "notepad" kinda window that you can use to run SQL
    statements with.

    "Khan44" <webforumsuser@macromedia.com> wrote in message
    news:cv5tk9$j44$1@forums.macromedia.com...
    > Originally posted by: Newsgroup User
    > I would goto mysql.com and download one of there GUI interfaces for MYSQL.
    > I personally use "MySQL Control Center".
    >
    > From your command line it looks as if you were trying to add a user and
    > password then run a SQL statement.
    >
    > The GUI interface can do all that.
    >
    >
    >
    >
    > I got it installed but cant find a single option to import the info from
    > the
    > insert.sql file in to the GlobalCar databse. The only options were "Create
    > New
    > Table" and "Edit Table". Thanks for the tip on the GUI, though.
    >

    Anthony Brown Guest

  8. #7

    Default Re: Database Tables Not Showing

    Originally posted by: RichMcCrea
    I am not sure if I had (and solved) the same problem... I was using XP Pro
    too, and the problem of the databases (refered to by my connection) dissapeared
    in the dataset setup, update, and insert dreamweaver dialogs. This bug only
    happened after XP Service pack 2 was installed. There was no cure for a long
    time, but now there is. Search for XP PRO and SP2 in the dreamweaver forum, I
    don't have the URL to the extension plugin anymore that fixed it but the bug
    was caused by SP2. I am not sure if this applies to your environment, but the
    problem sounds similar (albeit in a different language and with a different
    database)

    SP3 will probably be issued before I install SP2. Thanks for the info for
    future reference though :)

    Khan44 Guest

  9. #8

    Default Re: Database Tables Not Showing

    Originally posted by: Newsgroup User
    Try installing PHPMyAdmin from [url]http://www.phploginsuite.co.uk/[/url]

    Co-Author: Dreamweaver MX: Instant Troubleshooter - Apress
    Co-Author: Practical Intranet Development - Apress
    Co-Author: Dreamweaver MX: Advanced PHP Web Development - Apress
    Co-Author: Dreamweaver MX: PHP Web Development - Wrox




    Got it all downloaded and strted working on it, but editting that file is
    about as simple as using the command prompt. I have pulled so many "all
    nighters" the past two weeks trying to do this tutorial(one for 26 hours str8).
    I'll save the program, just in case. DWMX may be more than I can handle, but
    I'll pull a few more "all nighters" before I go back to FrontPage, because it
    has so many more options. Thanks for all your help!! I appreciate it.

    Khan44 Guest

  10. #9

    Default Re: Database Tables Not Showing

    Originally posted by: Newsgroup User
    What I do is open the sql in notepad, copy and paste that into the SQL query
    window in "MySQL Control".
    Basically, you open the program connect to your DB and click on the "SQL"
    button on the menu bar.

    That will open a "notepad" kinda window that you can use to run SQL
    statements with.



    :)Thanks a million!! I downloaded the new GUI, instead of the older one,
    thinking it would have the same options. NOT! Anyway I got the tables imported
    with your instructions above. Thanks Again for all your help! :beer;

    Khan44 Guest

  11. #10

    Default Re: Database Tables Not Showing

    Drinkin one right now!


    "Khan44" <webforumsuser@macromedia.com> wrote in message
    news:cv6c14$6n5$1@forums.macromedia.com...
    > Originally posted by: Newsgroup User
    > What I do is open the sql in notepad, copy and paste that into the SQL
    > query
    > window in "MySQL Control".
    > Basically, you open the program connect to your DB and click on the "SQL"
    > button on the menu bar.
    >
    > That will open a "notepad" kinda window that you can use to run SQL
    > statements with.
    >
    >
    >
    > :)Thanks a million!! I downloaded the new GUI, instead of the older one,
    > thinking it would have the same options. NOT! Anyway I got the tables
    > imported
    > with your instructions above. Thanks Again for all your help! :beer;
    >

    Anthony Brown Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139