Dreamweaver PHP Tutorial Comes To A Hault.

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Dreamweaver PHP Tutorial Comes To A Hault.

    * Local host, PowerMac G5.
    * PHP 4.3.11 for Apache 1.3
    * Mysql 4.0.26


    To create the sample MySQL database:
    1. Copy the SQL script file, insert.sql, to an appropriate folder on the
    computer that has MySQL installed.
    2. If you installed Dreamweaver to its default location, the path to the
    script file is as follows:
    ? C:\Program Files\Macromedia\Dreamweaver MX 2004\Samples\Database\insert.sql
    (Windows)
    ? /Applications/Macromedia Dreamweaver MX 2004/Samples/Database/insert.sql
    (Macintosh)
    3. If the computer running MySQL is a Windows computer, copy the insert.sql
    script to MySql\Bin. If the computer running MySQL is a Macintosh, copy the
    insert.sql script to your Documents folder in your home folder.
    4. On the computer that has MySQL installed, open a command prompt window
    (Windows) or a Terminal window (Macintosh).
    ? In Windows, you can open the command prompt by selecting Start > Programs >
    Command Prompt or Start > Programs > Accessories > Command Prompt.
    ? On the Macintosh, you can open a Terminal window by going to the
    Applications folder, opening the Utilities folder, and double-clicking Terminal.
    5. (Windows only) Change to the mysql\bin directory by entering the following
    commands at the command prompt:
    6. cd \
    7. cd mysql\bin
    8. Note: On the Macintosh, you should be able to run mysql from any directory;
    it should have been added to your path during installation of MySQL. If the
    following step doesn't work on the Macintosh, though, try typing
    /usr/local/bin/mysql instead of mysql.
    9. Start the MySQL client by entering the following command:
    10. mysql -uUser -pPassword
    11. For example, if your MySQL user name (also known as an account name) and
    password are Tara and Telly3, then enter the following command:
    12. mysql -uTara -pTelly3
    13. If you don't have a password, omit the -p argument as follows:
    14. mysql -uTara
    15. If you didn't define a user name while configuring your MySQL
    installation, enter root as the user name, as follows:
    16. mysql -uroot
    17. The MySQL client's command prompt appears, as follows:
    18. mysql>
    19. Create a new database by entering the following command at the MySQL
    prompt:
    20. mysql>CREATE DATABASE TrioMotors;




    Last login: Mon Mar 27 23:05:38 on ttyp1
    Welcome to Darwin!
    mac:~ albert$ mysql -uMonaco
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 13 to server version: 4.1.18-standard

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> CREATE DATABASE TrioMotors;
    ERROR 1044 (42000): Access denied for user ''@'localhost' to database
    'triomotors'
    mysql>

    Please help. :)

    Devious Designs Guest

  2. Similar Questions and Discussions

    1. ASP Error in Dreamweaver Tutorial
      Thanks alot! I just realised that the detail page did not define the language in the first line. I don't understand how Macromedia left that out!!! ...
    2. ASP Error in Dreamweaver Tutorial
      Thanks alot! I just realised that the detail page did not define the language in the first line. I don't see how Macromedia left that out!!! ...
    3. Dreamweaver Tutorial ASP Error
      Hi, I have encountered a problem when following the steps in the DW tutorial "Building a Master-Detail Page Set". I followed all the instructions...
    4. ASP Error in Dreamweaver Tutorial
      Hi, did you manage to sort out this problem? I have the exact same problem and would appreciate if you could tell me how to resolve it? However, I...
    5. WZ2K Tutorial Update - Latest Dynamic Dreamweaver video tutorial
      Hi, The latest Dreamweaver video tutorial has been added this evening, covering the following techniques: Expanding the MySQL database...
  3. #2

    Default Re: Dreamweaver PHP Tutorial Comes To A Hault.

    ..oO(Devious Designs)
    > mac:~ albert$ mysql -uMonaco
    > Welcome to the MySQL monitor. Commands end with ; or \g.
    > Your MySQL connection id is 13 to server version: 4.1.18-standard
    >
    > Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    >
    > mysql> CREATE DATABASE TrioMotors;
    > ERROR 1044 (42000): Access denied for user ''@'localhost' to database
    >'triomotors'
    > mysql>
    >
    > Please help. :)
    You have to login as 'root' to create a new database and grant access
    privileges to a particular user.

    Micha
    Michael Fesser 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