Using MySql and PHP with Dreamweaver on a Mac

Hello all,
As always if the answers to these questions are obscenely
obvious please humour me.
I use XHTML and CSS in my websites and realise that it is
time that I dabbled with SSI. So I've started using PHP.
However, I have been following the installation directions of
MySql and am running into problems. I am installing the relavent
software and am then unable to find it on my Mac, the startup files
are there but the actual MySql data appears to not be installed
despite my computer telling me it is...... I am using a G3 running
OSX 10.4 is this good enough? I noticed talk of needing a PowerPC
or Intel mac. Is this the case?
Also, would I need MySql installed on my actual computer if
the my servers have it already? And does Dreamweaver 8 have both of
these programs installed as standard?
If you could help out I would be very appreciative as I would
like to learn this stuff and I appear to be struggling at the
outset....
Cheers
M.A

M.A.Wilson wrote:
> However, I have been following the installation
directions of MySql and am
> running into problems. I am installing the relavent
software and am then unable
> to find it on my Mac, the startup files are there but
the actual MySql data
> appears to not be installed despite my computer telling
me it is...... I am
> using a G3 running OSX 10.4 is this good enough? I
noticed talk of needing a
> PowerPC or Intel mac. Is this the case?
MySQL is a relational database management system that
comprises a
database server and several utility programs. Although you
install it
like any other program on a Mac, the similarity stops there.
First, the point about PowerPC and Intel Macs is that there
are
different versions of the MySQL installer for each type of
processor.
I'm pretty sure that a G3 is OK, but you must choose the
PowerPC version
of MySQL, not the 64-bit or x86 (Intel Mac) version.
Once you have installed MySQL, you need to drag the
MySQL.PrefPane icon
from the disk image onto your System Preferences. This
installs a
Preference Pane that enables you to start and stop MySQL. The
Preference
Pane has an option to start up MySQL automatically, but in my
experience, it doesn't work on Tiger. You need to open the
Preference
Pane, and click Start MySQL Server each time you start your
computer.
The best way to work with MySQL is to use a graphical
interface, such as
phpMyAdmin. As Osgood has mentioned, I have written a book
about PHP and
Dreamweaver, which goes into all the necessary details. It's
also very
Mac-friendly with separate instructions where necessary for
PC and Mac.
More details here:
http://foundationphp.com/dreamweaver8/
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Will there be future database support of mySQL and php 5.5 on the dreamweaver CC?

    Will there be future support of mySQL and php 5.5 on the dreamweaver CC? I have seen various topics on this, and havent seen any answers on this as of yet. I feel it is very important to have this available, and not from some external company as an addon or something. I come from cs6 products, and am debating whether or not I should even join the creative cloud, or participate any further with Adobe products.
    I have been a fan of Adobe for quite some time. However, if there isn't going to be any database tools within DW, I may decide to pass on the CC and comepletely hand code it all from now on.
    Has anyone found yes or no answer to this yet? I am assuming there is no news yet, as the adobe posts I have read have no additional info other than they haven't updated the tools, thus removing them from CC.

    Mikaroni wrote:
    Will there be future support of mySQL and php 5.5 on the dreamweaver CC? I have seen various topics on this, and havent seen any answers on this as of yet. I feel it is very important to have this available, and not from some external company as an addon or something. I come from cs6 products, and am debating whether or not I should even join the creative cloud, or participate any further with Adobe products.
    I have been a fan of Adobe for quite some time. However, if there isn't going to be any database tools within DW, I may decide to pass on the CC and comepletely hand code it all from now on.
    Has anyone found yes or no answer to this yet? I am assuming there is no news yet, as the adobe posts I have read have no additional info other than they haven't updated the tools, thus removing them from CC.
    I very much doubt that any future addition of DW will include any 'official' support for mySql database interactivity. CC hide the server behaviours this time around in an extention to be activated by the individual, its still available in CC but at the users own disgression, mySql is dead. You should be connecting and querying your databases using other methods like mySqli. Adobe have seen it fit to go in other directions and dispite the outcry of dropping the server behaviours there has been a deafening silence from Adobe. From that you can take it they think it is no longer an important part of their software package.
    Mikaroni wrote:
    I have been a fan of Adobe for quite some time. However, if there isn't going to be any database tools within DW, I may decide to pass on the CC and comepletely hand code it all from now on.
    I have not updated to CC because it contains zero that would be of importance to my workflow. The more experienced a code writer you are the less DW has to offer. Any serious code writer would not miss DW if it went out of business. Fireworks is more important to me which LOL is going out of business...go figure. I think the Adone execs are screwed up snorting cocaine or something. I'm not really even sure why I use DW, maybe out of habit.
    Certainly hand coding for database connectivity and querying is the ONLY way to go if you are not interested in third party extentions because continuing to use the current available server behaviours is a backwards step. I don't know how good these third party extentions are because there has never been a lot of talk about them around here which leads me to believe not many are considering them, maybe.

  • Apache, MySQL, and PHP

    I am new PHP development and working on a test project. I've installed Apache, MySQL and PHP on my Windows XP box and now I'm a little confused. I created a database and some sample code to retrieve data. Now, on a server I'm using which supports this how do I upload this to the server for use?
    I hope this makes sense. Is there a built-in app for that or do I upload my created db to the server.
    UPDATE: I forgot to add that I am working locally and now would like to port this over to my domain and server. My host uses a linux box with apache.
    Thanks in advance,
    mdawg

    Hi,
    Download the mysql admin gui from here : http://dev.mysql.com/downloads/gui-tools/5.0.html
    If your host server allows connections from other hosts you can use the mysql gui to connect to the local database as well as the host database and export the tables to your new database on the host. This is the way I prefer to do it... but some hosts only allow SQL connections from the localhost itself which basically means you won't be able to connect to it using the mysql gui tools.
    However you can still generate the database scripts from the gui tools and login to your hosts mysql manager - possibly phpMyAdmin and then simply execute the SQL script.
    Hope this helps,
    Brendan

  • Any tutorials on creating a simple Login using Mysql and sessions?

    Hey guys. I cannot seem to find any information(online) or books that cover sessions in JSF and how to do a simple log in. I can get the application to query a mysql table and check the credentials and go to the next page, but I'm not sure how to make that page locked from non authorized access. I am very familiar with PHP and using it to create database driven applications. It's very straightforward, making safe logins using mysql, and creating sessions once the user has logged in(making pages locked unless the user is logged in, etc).. I have the core java server faces book but it's a joke. I feel like its an incomplete book. It merely skims a topic, and when you think it's going to get interesting it moves on to something else. It teaches basic stuff but nothing of what I want to do(or need to do). The older Javaserver faces book that came out in 2004 from O'Reilly doesn't seem to help either. I'm just wondering where people learn JSF at. I know Java, I would say pretty well as far as desktop applications go. I really like the way JSF is layed out and would really like to use it in my next project. At the level I know it now it's perfect for static web pages with no dynamic information.(but I could use plain html for that). Thanks for all your help.

    dothedru22 wrote:
    but I'm not sure how to make that page locked from non authorized access.You can use a Filter for that. Map the filter on the desired url-pattern and write doFilter() logic which checks if the user is logged in (basically: if there is an User object in the HttpSession) and handle accordingly (chain.doFilter() on success or response.sendRedirect on fail).
    and creating sessions once the user has logged in(making pages locked unless the user is logged in, etc).. The HttpSession is backed by a cookie (as is PHP's $_SESSION, did you know that?), you don't need to do any low-level stuff with cookies. Maybe at highest if you ever want a "remember me on this computer" option.
    booksThe mentioned books learns you the JSF basics. They doesn't really learn the best practices / practical use cases. There you have other resources for (or just practical experiences). Besides, I recommend you to go get a book which covers JSF 1.2 or newer. The mentioned ones are outdated, as is everything else older dan two years in the programming world.

  • Highscore list using Flash and PHP

    Hi,
    I want to make a highscorelist using AS3 and PHP(MySQL).
    I cant find a good tutorial on internet how to make something like that but I got this so far:
    import fl.controls.TextInput;
    import fl.controls.TextArea;
    var variables:URLVariables = new URLVariables();
    variables.name = "Wil";
    variables.final = 2000;
    var request:URLRequest = new URLRequest();
    ////insert in the location of the php script ////////////////
    request.url = "http://www.justenter.nl/script.php";
    request.data = variables;
    var loader:URLLoader = new URLLoader();
    loader.load(request); //sends the request
    //when the request is done loading, it goes to the completeWriting function
    loader.addEventListener(Event.COMPLETE, completeWriting);
    function completeWriting(event:Event):void {
        var writingCompleted:TextField = new TextField;
        writingCompleted.autoSize = "center";
        writingCompleted.x =200;
        writingCompleted.y= 200;
        writingCompleted.text = event.target.data;
        addChild(writingCompleted);
    He is sending the score and name to the database but he is doing that when i press ctrl-enter. He is sending the data I have given in:
    variables.name = "Wil";
    variables.final = 2000;
    I want a input textfield and a button. And When I fill in my name in the input textfield he send it to the database when I press the button.
    Is there someone that can help me out?
    Tnx

    import fl.controls.TextInput;
    import fl.controls.TextArea;
    var variables:URLVariables = new URLVariables();
    //variables.name = "Wil";
    //variables.final = 2000;
    var request:URLRequest = new URLRequest();
    ////insert in the location of the php script ////////////////
    request.url = "http://www.justenter.nl/script.php";
    request.data = variables;
    var loader:URLLoader = new URLLoader();
    submitBtn.addEventListener(MouseEvent.CLICK,submitF);  // where submitBtn is your button
    function submitF(e:Event){
    variables.name=nameTF.text; // where nameTF is your input texfield
    variables.final = score;  // where score is the variable you use to tally user score
    loader.load(request); //sends the request
    //when the request is done loading, it goes to the completeWriting function
    loader.addEventListener(Event.COMPLETE, completeWriting);
    function completeWriting(event:Event):void {
        var writingCompleted:TextField = new TextField;
        writingCompleted.autoSize = "center";
        writingCompleted.x =200;
        writingCompleted.y= 200;
        writingCompleted.text = event.target.data;
        addChild(writingCompleted);

  • How do I use Qt and OpenGL with Visual Studio

    Hi! I mainly want to program in C++ and I want to use Qt and OpenGL with Visual Studio.
    I am currently revising C++ and later on i am going to start reading Qt and OpenGL. I have a background of
    Embedded firmware design(C and Assembly).
    The Visual Studio Version I have is 2013 ultimate. How do I use Qt and OpenGL with Visual Studio?
    Thanks
    Alexandros

    Hi ClassicalGuitar,
    The forum supports VS setup and installation. And your issue is not about the forum. I will move the thread to off-topic forum. Thanks for your understanding.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Using ConnBean and CursorBean with a Data Source

    Hi all,
    I',m making a web app. using the Jdev (RUP4) with OA Extension. I looked in the help menu under "About Data-Access JavaBeans and Tags". Here I found the following example, but for some stange reason I cannot get the setProperty to work.
    Example: Using ConnBean and CursorBean with a Data Source This following is a sample JSP page that uses ConnBean with a data source to open a connection, then uses CursorBean to execute a query.
    <%@ page import="java.sql.*, oracle.jsp.dbutil.*" %>
    <jsp:useBean id="cbean" class="oracle.jsp.dbutil.ConnBean" scope="session">
    <jsp:setProperty name="cbean" property="dataSource"
    value="<%=request.getParameter("datasource")%>"/>
    </jsp:useBean>
    <% try {
    cbean.connect();
    String sql="SELECT ename, sal FROM scott.emp ORDER BY ename";
    CursorBean cb = cbean.getCursorBean (CursorBean.PREP_STMT, sql);
    out.println(cb.getResultAsHTMLTable());
    cb.close();
    cbean.close();
    } catch (SQLException e) {
    out.println("<P>" + "There was an error doing the query:");
    out.println("<PRE>" + e + "</PRE>\n<P>"); }
    %>
    Does anyone know how to set the "Property" to a datasource and make it work?
    Best regards,
    MHCI

    There is no point-and-click (Import Data Source Metadata) way to use an LDAP server as a datasource. You have to use the Java Function provided on dev2dev. If you need help with it, please post here.
    - Mike

  • Configure CRS2008 to using AD and Kerberos with Java application servers.

    Hi All,
    I have configure CRS2008 to using AD and Kerberos with Java application servers. Domain Controller is installed on W2K3 Server. In addition, CRS2008 is installed on another W2k3 Server.
    I have create service account in domain controller: CMSACC
    I have create two user account: CRuser1 and CRuser2
    I have create domain group: CRSGroup
    After I had run the setspn in domain controller,I got the message at below:
    Registered ServicePrincipalNames for CN=CMSACC, OU=TEST, DC=BD, DC=com:
        BOBJCentralMS/BDMGTSRV.BD.com
    CMC Setting:
    AD Administration Name: BD\administrator
    Default AD Domain: BD.com
    Add AD Group(Domain\Group): secWinAD:CN=CRSGroup,OU=TEST,D=BD,DC=com
    Service principal name:BOBJCentralMS/CMSACCatBD.com
    I have create a WINNT folder in root directory.Moreover and save bcsLognin.conf and Krb5.ini at here.
    bscLogin.conf:
    com.businessobjects.security.jgss.initiate {
    com.sun.security.auth.module.Krb5LoginModule required;
    krb5.ini:
    [libdefaults]
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    [realms]
    forwardable = true
    BD.com = {
    default_domain = BD.com
    kdc = BDMGTSRV.BD.com
    I have tested the Kerberos,using kinit CMSACCatBD.com password, and got error message at below:
    Exception: krb_error 41 Message stream modified (41) Message stream modified
    KrbException: Message stream modified (41)
            at sun.security.krb5.KrbKdcRep.check(KrbKdcRep.java:53)
            at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:96)
            at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:486)
         at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:444)
         at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:310)
         at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:259)
         at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:106)
    My problem is failed to logon CMC and infoview and got error message at below:
    Account Information Not Recognized: Active Directory Authentication failed to log you on. Please contact your system administrator to make sure you are a member of a valid mapped group and try again. If you are not a member of the default domain, enter your user name as UserNameatDNS_DomainName, and then try again.
    Actually, I am sucessful to logon Business View manager with CRuser1. However, I fail to logon CMC and infoview and got the above error. Have you any suggestion to solve this problem?
    Ken.

    if you can logon with client tools then that should be an indication that the service account running the CMS IS working! Good news.
    So the problem is likely with the java portion (krb5/bsclogin or java options)
    If the files are in c:\winnt\ (if not copy them there) and perform c:\program files\business objects\javasdk\bin\kinit username
    then enter and password/enter again
    Probably get the same message. To note in your krb5.ini all domain info must be in CAPS (the .com appears to be in lower case)
    kinit works with just the krb5.ini, java SDK and AD (removing BO config and the service account from the picture). Once that works if your java options are specified properly you should be able to login to CMC/infoview.
    also 1 last point. Add udp_preference_limit = 1 to the krb5 lib defaults section
    libdefaults
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    udp_preference_limit = 1
    Regards,
    Tim

  • How to use audio and mic with multipoint server with out it crashing on you

    how to use audio and mic with multipoint server with out it crashing on you when i use them to make calls thru my station (zero client) at the same time it crashes on me and i need to restart the multipoint is there a setting i may have mist that enable's
    them to work at the same time and if posible can i use a non USB device 

    Look for "Single Sign-on Using Kerberos in Java" in google or on Sun's web site. Maybe this paper will help you.
    Claude

  • I have a US Mac living in the UK. I tried to download both the British and American version. Both state "You cannot use the application Firefox with this version of MAC OSX". Any suggestions how to proceed?

    I have a US Mac living in the UK. I tried to download both the British and American version. Both state "You cannot use the application Firefox with this version of MAC OSX". Any suggestions how to proceed?

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. You can get the latest version of Firefox 3.6 which works on OS X 10.4 from http://www.mozilla.com/en-US/firefox/all-older.html

  • How to use "start" and "duration" with HLS stream

    Hi all,
    is it possible to use "start" and "stop" with HLS stream like rtmp stream?
    If yes, how?
    thanks in advance.

    Hi,
    This is completely player side fucntionality you are asking for. However, I guess default player that comes on safari (iPad), quicktime has the player timeline with stop and start option. But if not, you can create your custom player using exposed api of AVPlayer. Check-out AVPlayer api's.
    FMS, by nature of protocol will respect the request to get the data(in case of client-play-start)  and will not automatically push the data to the client if not asked for by the client (as in case of client-play-stop).
    Thanks

  • I use to use ichat and now with mountain lion i only have facetime. i try to keep in touch with my family thru the old ichat, will facetime work as easiely ? is it easy to connect with this app? thanks, gilbert

    I use to use ichat and now with Mountain Lion I only have FaceTime, will this work as easy as ichat? I try to keep in touch with my son and his family, he has a Mac also. I have never tried to do a video chat with my new Mountain Lion. I have set-up FaceTime and thought I would throw the question out before we try and get together.   Thanks,   Gilbert

    Ichat is now called Messages and is in your Applications folder.

  • Can not use default screen saver with this version of Mac OS X

    Hello,
    I created a 10.6.4 image on a Mac Pro that I have installed on a new 27" iMac. Every thing works fine, as expected, except the screen savers (all Apple default). All screen savers appear in the list when booted off the Mac Pro, but when booted off the iMac, all but 2 disappear (Computer Name and Flurry). Also, the ones listed under Pictures show up, but when I try to use one it says "Can not use 'screen saver name' with this version of Mac OS X - Contact your vendor."
    Also, the flurry screen saver runs extremely slow.
    Unfortunately, I don't have another iMac to compare versions with, but I've compared with a new Macbook Pro and they are exactly the same. Is there a cache or a pref I can flush?

    The old screensavers were about the first things that didn't work when moving to Snow Leopard, so my guess would be the iMac is booting in 32-bit vs 64-bit mode (or whichever mode is incompatible with your screensavers).

  • "YOU CANNOT USE THIS APPLICATION SAFARI WITH THIS VERSION OF MAC OS X"

    hi, just downloaded the update for mac 10.5.1 - all went well - then tried to open Safari and received this message "YOU CANNOT USE THIS APPLICATION SAFARI WITH THIS VERSION OF MAC OS X" - I have tried downloading Safari again through netscape but that does not seem to work either - ANY IDEAS???? Thanks

    It sounds likely that you have more than one copy of Safari on your hard drive. The one in your Applications folder is the one you should have. The one you're trying to launch is an older version that somehow got moved somewhere else, so that the new version got installed in your Applications folder (where it should be) while the old version is running (or trying to run) from another location.
    First, double-click on the Safari application file that you have in your Applications folder. Does it run properly, without error messages? If so, everything is fine. You just need to get rid of the old version of Safari and set it up so you can easily launch the new version that is in your Applications folder.
    Are you clicking on the Safari icon in your Dock when you see the error message? If so, do this: Control-click on the Safari icon in your Dock and select "Show in Finder" from the contextual menu. A Finder window should open showing the location of that copy of Safari. If that Finder window is any location other than the Applications folder, delete the Safari file that is in that folder. Then drag the Safari icon out of your Dock. Navigate to your Applications folder and drag the Safari file from the Applications folder to your Dock.
    You should be all set, but click on the new Safari icon in your Dock to make sure it is the correct version and runs without problems.
    Message was edited by: Rachel R

  • Can you use a digital recorder with Skype on a Mac mini?

    Can you use a digital recorder with Skype on a Mac mini?

    Have a look at http://www.ecamm.com/mac/callrecorder/

Maybe you are looking for

  • Using a G5 for various media applications

    Hi, Some of this is relevant to various other discussions, I know, but this one allows me to group them all together. I'm planning on using my G5 as a media centre for my TV (it's fast and expandable, hard disk-wise), but since it makes an awful rack

  • Need to stop the pop and Imap receive connectors to be able to start the pop and Imap services in Service Manager

    Hello All, I am hoping that someone else has run across this issue (may have started after CU5 was installed). Upon every reboot I have found that the "Microsoft Exchange IMAP4" and "Microsoft Exchange POP3" services in the service manager will not s

  • Recording NWBC scripts for End User Experience

    Hi Experts, I am recording NWBC scripts using the Netweaver Business Client GUI for loading and running it through Robots for End User Experience Monitoring. I don't see an option to "LogOff" in NWBC client while recording  the script. We only have o

  • German Characters

    I am trying to import some data using the data load, load text data function. This data contains german characters like umlauts. When they have been imported, they get corrupted and display as squares. What do I need to do to correct this. I tried ch

  • No update of subtitles before folder or image creating

    To add subtitles with Encore DVD2 could be very irritating. For a DVD project, my customer asked me to change a few subtitles. I did that, check the preview, and was very surprised to burn the DVD with the old subtitles. Encore DVD2 did'nt update the