Noob trying to set up PHP for DreamWeaver

When I paste this into the command prompt:
cd Program Files\MySQL\MySQL Server 5.0\bin mysql -uroot
-pPassword CafeTownsend < tutorial.sql
I get this:
The system cannnot find the file specified.
I have checked everything I can think of. I checked the file
path. I checked the file name. I don't recall me specifying a User
Name when I installed MySQL.( I think that would cause another
error message all together.) I triple checked to make sure I had
the SQL script file in the bin file. I suspect there must be
something here really obvious that I am missing... Can someone
shine the light of experience on this situation.
Thank you.
Mr. Lipshitz

mahakala8 wrote:
> 1. I did not include my password in the command line
from the tutorial in my
> post. My password is not pPassword. I do change the
default text when entering
> the command into the prompt. I was concerned that I
didn't amend -uRoot when
> using the command b/c I didn't recall specifying a root
name in the MySQL
> installation. It doesn't ask for one in the MySQL
command prompt when I sign on
> so I assumed it was not an issue.
The root user is the MySQL superuser with complete control
over every
database and user account. It is created by default, so you
don't need
to specify anything when installing MySQL. A new installation
of MySQL
is not password protected (if it were, you wouldn't be able
to get in).
That's why I said it assumes that your root password is
Password. The
lowercase p in front of Password is the instruction to MySQL
that you
are supplying the password. If you use that particular way of
accessing
MySQL, there must be no space between p and Password (or
whatever your
password is). Since it involves typing out your password in
plain text,
the normal way is to type just the p. After you press Enter,
MySQL then
prompts you to enter your password. If you haven't set a
password,
though, you should leave out the p.
>The command line in the tutorial that
> I have cut and pasted here reads:
>
> \cd Program Files\MySQL\MySQL Server 5.0\bin mysql
-uroot -pPassword
> CafeTownsend < tutorial.sql
No, it doesn't. It contains three commands as follows:
cd \
cd Program Files\MySQL\MySQL Server 5.0\bin
mysql -uroot -pPassword CafeTownsend < tutorial.sql
The first command (cd \) changes your current directory to
the top level
of the C drive. The alternative that I gave you accomplishes
the first
two commands in a single step.
> Port 80 is open on my machine. I also went back and
opened port 81.
> I turned off the windows firewall. I didn't explain this
before. However, is it
> even necessary to be concerned with ports when you are
running an Apache test
> server on your own development machine?
MySQL doesn't run on port 80; it uses port 3306 by default.
The fact
that you have managed to create the database through the
MySQL Command
Line Client indicates that MySQL is working correctly.
However, you do
need to be concerned about ports and firewalls on your own
machine. One
of the most common causes of problems with server-side
development is
the fact that the Windows firewall (or other security
software) is
blocking communication between Dreamweaver and Apache and/or
MySQL.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Iv just bought  Ipad 2 for back home in UK in usa. I'm trying to set it up for the plane ride home on my sisters pc which already has itunes installed. Will I be able to sync it with my own PC back home.

    Iv just bought  Ipad 2 for back home in UK in usa. I'm trying to set it up for the plane ride home on my sisters pc which already has itunes installed. Will I be able to sync it with my own PC back home.

    Yes, but all the data from your sisters PC will be erased and replaced with yours, which is probably what you want anyhow.

  • ANN: "Foundation PHP for Dreamweaver 8" - DW 8.0.2 updates

    Readers of "Foundation PHP for Dreamweaver 8" who have
    installed the
    Dreamweaver 8.0.2 updater, should visit the book's update
    page at
    http://foundationphp.com/dreamweaver8/updates.php#802updater
    I have posted details of changes resulting from the release
    of the 8.0.2
    updater. The main issues are as follows:
    * SQL queries that use MySQL functions may be corrupted
    (Adobe has
    confirmed this as a new bug).
    * Changes to the Advanced Recordset dialog box.
    * XSL Transformation server behavior fails in PHP 5.1.4 (not
    clear
    whether this is a Dreamweaver bug or a PHP one). Fortunately,
    there is a
    simple solution - Adobe has been alerted to the problem.
    I have also created new download files for Chapters 8 - 10
    (Chapter 11
    will follow later). They will eventually be moved to the
    book's official
    downloads page, but can already be downloaded from the
    friends of ED
    forum at the following address:
    http://friendsofed.infopop.net/2/OpenTopic?q=Y&s=989094322&a=tpc&f=8033053165&m=7831083921 &r=5741045921#5741045921
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

    David Powers wrote:
    > Readers of "Foundation PHP for Dreamweaver 8" who have
    installed the
    > Dreamweaver 8.0.2 updater, should visit the book's
    update page at
    >
    >
    http://foundationphp.com/dreamweaver8/updates.php#802updater
    >
    > I have posted details of changes resulting from the
    release of the 8.0.2
    > updater. The main issues are as follows:
    >
    > * SQL queries that use MySQL functions may be corrupted
    (Adobe has
    > confirmed this as a new bug).
    > * Changes to the Advanced Recordset dialog box.
    > * XSL Transformation server behavior fails in PHP 5.1.4
    (not clear
    > whether this is a Dreamweaver bug or a PHP one).
    Fortunately, there is a
    > simple solution - Adobe has been alerted to the problem.
    >
    > I have also created new download files for Chapters 8 -
    10 (Chapter 11
    > will follow later). They will eventually be moved to the
    book's official
    > downloads page, but can already be downloaded from the
    friends of ED
    > forum at the following address:
    >
    >
    http://friendsofed.infopop.net/2/OpenTopic?q=Y&s=989094322&a=tpc&f=8033053165&m=7831083921 &r=5741045921#5741045921
    >
    David,
    Will this affect pages prospectively? In other words, if I
    update to
    8.2 and then create the database and queries, will everything
    be just
    tickety boo and it's only already-created functions that are
    in jeopardy?
    Thanks for staying on top of this!
    Bonnie in California
    kroko at
    sbcglobal dot net
    http://www.theanimalrescuesite.com/cgi-bin/WebObjects/CTDSites.woa

  • Problem setting up database for dreamweaver 8 to use on testing server

    I am trying to try out dreamweavers database features, by
    trying to set up a connection to mysql database. How ever I recieve
    errors when trying to select my database. Either I get a long error
    that says it can not find localhost//_mmHTTP... something like that
    or undefiend errors message.
    I am using wamp5 set up on my local machine that installed
    apachie,php,mysql in one package. So maybe that has something to do
    with it, but none the less can someone give me a example of how
    they set theirs up to work with examples of where files should be
    located I can not seem to find anything like this in google, and I
    dont want to set it up on a remote server yet until I tested things
    on my local machine.

    Thanks Seth,
    I ran jcounsole, but I don't see anything except the process monitor registered.
    I don't think the server is starting sucessfully after the exception becuase I don't see the other parts
    of the application running.
    I forgot to mention in the last post that I've also added the line
    <BR>
    <BR>
    -Xbootclasspath/a:C:\bea\wlevs20\bin\mysql-connector-java-3.0.17-ga-bin.jar
    <BR>
    to the startup script to add in the location of the jar file that contains the JDBC driver.
    I was going to post the full stacktrace, but it's fairly long so I'll hold off unless you think it may help.
    I do get one additional exception after the <Server STARTED> message which is:
    A service of type "com.bea.core.datasource.DataSource:com.bea.core.datasource.DataSourceFactory" from file "OSGI-INF/datasource.xml" in bundle "com.bea.core.datasource" could not be advertised because all required services are not available. In particular, these are not available:
         1. RequiredReferenceImpl(filter="(objectClass=com.bea.core.transaction.TransactionManagerService)")
    <BR>
    but I think it may be related to the fact that the data source isn't being created.
    <BR>
    Thanks very much for taking a look,
    <BR>
    Mike

  • When I went to Creative Cloud, I tried to install and update for dreamweaver and photoshop.  Error m

    Why is it when I tried to install updates for Dreamweaver and Photoshop...it failed?

    Pioneer97 in order to determine why the update failed it will be necessary for you to review your installation log files for the updates.  For information on how to locate and interpret your installation log files please see Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  Please feel free to post any specific errors you discover to this discussion.

  • NOOB trying to set up file sharing on Mac Pro.  How do I do it???

    I've just unboxed a new Mac Pro that has OS X Server installed on it and I'm trying to figure out how to set it up as a file server. It has 2 TB (4x 500 GB) of hard disc storage that I want to make available to two other work stations.
    The three macines are already networked via an Airport and are sharing internet, etc. I've been able to set up AppleTalk, but that only shares public folders. I'm trying to set up the more advanced sharing features offered by Server.
    I've been scouring the help section of OS X and here on apple.com and so far haven't been able to figure it out. Can anyone out there be so kind as to give me some tips or at least point me in the right direction? Thanks.
    Mac Pro   Mac OS X (10.4.7)   Server
    PowerMac G5   Mac OS X (10.3.8)  

    Pretty broad question.
    In summary, you use the Sharing panel of Workgroup Manager to create a sharepoint, and to set the permissions for your users. You can read all about it in the File Services Administration manual, which is part of Apple's documentation:
    http://www.apple.com/server/documentation/
    If you have a specific issue that you're running into, post again and I'm sure you'll get the help you need.

  • Trying to set up ereader for library books but unable to authorise computer.

    I am trying to set up a Kobo Aura ereader to borrow and read library books. I have verified my Adobe ID. Each time I try (I installed, uninstalled and reinstalled Adobe Digital Editions) I am unable to authorise my Windows 7 computer. I get the following error message.
         Activation Server error  code:e_adept_request_expired http://adeactivate.adobe.com/adept/activate 2014-11-08T15:38:27-08:00%20(1415489907000)%2015%before%202014-11-08T16:07:07-08:00%20(14 15491627736)
    I am going crazy setting up this ereader. Please help me!

    Let's try this first.  Press the wireless button on the front of the printer and execute a "Restore Defaults".
    Next, restart the router by pulling its power plug momentarily, then try the WPS procedure again.  If that does not work, contact your ISP to see if the WPS button is functional.
    If it is not, let me know and I can walk you through a much harder, but effective technique.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Setting up MySQL for Dreamweaver 8

    I set up MySQL on my Macintosh yesterday, along with PHP --
    all went fine yesterday, until I tried to connect Dreamweaver to it
    (today I went back and uninstalled and tried to reinstall, and all goes less well -- can anyone tell me what
    robert:/usr/local/mysql robert$ bin/mysqladmin -u root password 'himmel'
    bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'
    signifies?)
    In any case -- back to the story:
    I go to connect to the DB in Dreamweaver 8, and when I try to set up the DB in the "databases" tab and click on the "database" field I get
    "An unidentified error has occurred"
    and then
    "HTTP Error Code 404 File Not Found....
    [Possible Reasons]: 1) No testing server running on this machine.
    2) The Testing Server specified for this site does not map to the http://127.0.0.1/~robert/Sites/_mmServerScripts/MMHTTPDB.php?Type=MySQL&Connecti onString=host=localhost;uid=dwmx;pwd=mm&Host=localhost&&UserName=dmwx&Password=m m&Timeout=30 URL. Verifiy that the URL prefixs points to the root of the site."
    Any clue? I know little about PHP or Unix, but am trying to learn.

    Great info - thank you, David! I will be trying that this
    afternoon.
    Before I do, however, I need to clarify whether I am doing
    this the "best"
    way in my decision to use MAMP. I was looking for the
    quickest, easiest way
    to get a Testing Server setup so that I could test out
    multiple client
    sites. In your opinion, is my approach the best solution? Do
    I need to
    purchase MAMP Pro?
    Thanks again, much appreciated!
    Derrill
    "David Powers" <[email protected]> wrote in message
    news:gcar60$1ga$[email protected]..
    > Derrill wrote:
    >> Server Model: PHP/MySQL
    >> Access: Local/Network
    >> Testing Server Folder: (Not sure what goes here
    because I am not sure
    >> where my website root folder should reside)
    >
    > Since you have installed MAMP, the server root is
    > /Applications/MAMP/htdocs
    >
    > If you create a subfolder called mysite inside htdocs,
    URL prefix becomes
    >
    http://localhost/mysite/
    >
    > However, by default, MAMP uses a non-default port for
    Apache. If you are
    > using the MAMP ports, you need to change the URL prefix
    to
    >
    http://localhost:8888/mysite.
    >
    > As long as you run only MAMP, it's best to configure
    MAMP to use the
    > Apache and MySQL default ports (80 and 3306). You do
    this in MAMP Pro by
    > selecting Server > General, and clicking the Default
    port button. Since
    > you have got MAMP Pro, you can also create virtual hosts
    for your sites.
    > You do that by clicking the Hosts tab in MAMP Pro. Click
    the plus button
    > at the bottom-left of the panel, give the virtual host a
    new name and
    > specify its location in the fields on the right.
    >
    > Always restart the servers after making any changes.
    >
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "The Essential Guide to Dreamweaver CS3"
    (friends of ED)
    > Author, "PHP Solutions" (friends of ED)
    >
    http://foundationphp.com/

  • Can I set up credentials for Dreamweaver to authenticate against an htaccess file system on the server?

    Hi all! I'm trying to keep my website secured while developing; I love the Live View feature in Dreamweaver, but if I set up a htaccess file on my server, Dreamweaver can't seem to handle authentification. Any thoughts? If this isn't possible, what are the best ways to keep access to a website secure and restricted while developing?

    You are developing on the external server? Most of us develop on our local machines and then upload (FTP) the edited files to the external server.
    I'm not sure what security restrictions you are attempting. You are trying to password protect the external website during development? And you are using htaccess as the method?
    Normally LINUX permissions are set to allow anyone to view your website but not make file changes. Your FTP user account does have permission to make file changes. This would have nothing to do with htaccess.

  • New Satellite C55-A-1UE trying to set it up for 1st time

    Hi
    Just got my new Toshiba Satellite C55-A-1UE turned it on for 1st time and went through the internet set up, account set up etc. Then it said it was loading software and please wait do not turn off.
    I have been sat for over 30 minutes waiting and all I have is a circle going round n round like its loading. Seems an awful long time for it to set up - can anyone advise?

    >I have been sat for over 30 minutes waiting and all I have is a circle going round n round like its loading. Seems an awful long time for it to set up - can anyone advise?
    Well, during the first configuration, the Toshiba image has to be setup and all necessary updates has to be downloaded and installed. This takes time.
    However, it could be possible that the system would not response anymore and in such case you should simply power OFF the notebook and should reboot it again.
    Usually the system would start the configuration from the point of interruption

  • Trying to set up sync for bookmarks on my devices and haven't received a confirmation email.

    Set up a Firefox account yesterday and waited for the confirmation email. It still hasn't arrived. Yes, I did ask for a resend.

    I haven't heard back from you, I suppose my answer was useful.
    If you haven't already, please mark the answer that solves the problem as such. This will help other users with similar problems find the solution more easily.
    Thank you for contacting Mozilla Support!

  • Trying to set up MG5420 for my Samsung galaxy 2 tab 10.1. Help with download? Thanks

    Trying to setup MG5420 for my samsung galaxy 2 tab 10.1  help with download.  thanks 

    Hello bvick.
    Printing can be performed with our Easy PhotoPrint app or by using Google Cloud Print.  The Easy PhotoPrint app is available for free from Google Play.
    For information on using the printer with the Google Cloud Print service, please visit the following link:
    http://www.usa.canon.com/cusa/consumer/products/printers_multifunction/photo_all_in_one_inkjet_print...
    Once there, type in 'Google Cloud' to search for the guide on this service.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Get error when trying to set up printing for new laptop

    I have an HP laptop that is currently using windows XP and I was able to get that computer to connect wirelessly to the printer that is physically connected
    to that desktop (HP deskjet 5550printer) computer.  Now I recently purchased two Toshiba laptops that are running with Vista on them and  cannot get them to print when I'm prompted to print a test page.  Is it possible that the vista driver is not compatible with the xp driver that is on the DESKTOP computer?
    I do get errors that say the wrong driver is installed.
    Thanks for any help that any one has.

    Hi,
    Yes XP drivers are not compatible with Vista you need to install software for both the Computers.
    I work for HP but my posts and replies are my own.
    Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • Trying to set up wireless for my OJ 4620,help does not list my max op system which is OSX 10.8.2

    DOES THIS MEAN THAT WIRELESS WILL NOT WORK ON MY MAC

    The OJ 4620 will work with your version of OS X.  You can find information on installing the printer from the link below.  Let me know if you need any more help.
    Installing the Product Software for a Wireless Network Connection
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • HT4901 I'm trying to set my settings for icloud but it says "This is a valid Apple ID but not an icloud account, what am I doing wrong."

    What am I doing wrong.

    You can't create a new iCloud acount using a PC. You must create it on an Apple device, a Mac or an iPad/iPhone. Then you can use it on your PC.

Maybe you are looking for

  • Muse, Transferring from Vista, no Longer supported by adobe to windows 7

    My laptop has window 7, my PC with the designed website on it has Vista.  I can no longer open vista. THe files for Muse have been found but do not transfer to my PC I have tried drop box and memory stick.  MOst of the files do not show a size, IE as

  • Encrypting files...

    Hi there, My Device is Q10,  my son he inter wrong password more than 10 times and Device directly deleting my data. I open device and I restore backup and my data but know I facing problem in Memory card  ( micro card ) when I installed  its showing

  • Recommended 9-pin to 9-pin Firewsire cable

    Occasionally I've found that my Macbook Pro has lost its connection with my Firewire 800 hard drive. Disconnecting and reconnecting the hard drive seems to cure the problem, so I'm guessing that the cable had come loose (only slightly, but just enoug

  • Creative Zen Vision W - Liquid Crystal broken, Can it be Fixed ????

    Hi guys the actual plastic screen is intact but the liquid crystal behind it is shattered so i can't see the screen. The player still functions and i use it as an mp3 blind but i can't of course watch videos anymore or search for songs. Luckily when

  • The touch screen on my iphone4 suddenly stopped working

    I was trying to figure out how to 'enable web' so I could get a photo transfer app to work thru wiFi at a hotel, and I think I did something to disable the touch screen. Its stuck on the opening window and I can't slide to unlock it. also can't shut