ColdFusion & MySql & NaviCat

I need so help with MySql - its the first time I'm using MySql to run my databases in CF.
I have created a MySql database in NaviCat and linked it to my website with CF on my local machine and it's all working.
The problem is, I don't know how to load the DB onto my server so that I can use it in a live environment. I cannot seem to find where the database is stored so that I can copy it across to the server.
Can so help?
Thanks 

This is not a CF question, so probably not the best place to post it.
Not that I am a MySQL expert, but I have used it a bit, if I was to be needing to do this, I'd use MYSQLDUMP to serialise the DB, and then reimport it on the prod box via MYSQL itself.  That said, I've not needed to do this for a few years, so things might have moved on since then.
However if you ask MySQL questions on a MySQL forum, you will get MySQL experts (if only self-proclaimed ~) who will give you a more informed answer.
Adam

Similar Messages

  • Web Hosting for Flash/ColdFusion/MySQL

    I am new to Flash and interesting in creating simple
    forms/guestbooks using flash. My web hosting service supports most
    php & mysql technology. Most of the tutorial I see on the the
    macromedia site refer to coldfusion.
    Can anyone provide tips or articles relating
    Flash/ColdFusion/MySQL on web hosts that do not support Access
    & SQL server?
    Can anyone recommed a host that supports
    Flash/ColdFusion/MySQL

    The host I use most often is CrystalTech.
    http://www.crystaltech.com
    They have ColdFusion hosting with MySQL, Flash. They are
    reasonably priced and have very good customer service. (very
    important in my opinion...)

  • Mysql query returns different number of records from coldfusion and navicat

    Hi
    I'm hoping that someone can suggest a basic strategy to debug this.
    I have a fairly large and complicated query that is executed by a function in a cfc.
    It returns (for example) 100 rows.
    If I use cfdump and then copy and paste the SQL of the query (with the variables, of course) into Navicat and execute exactly the same query on the same mySQL database, it returns 130 rows.
    Same SQL string, same database, same data - the only difference is that in one instance Navicat submits the query and in the other, Coldfusion does.
    Has anyone ever had anything like this happen before?

    Ok I found my own bug. Of *course* the sql queries were not identical.. they could not possibly have been. My mistake was thinking that they were.
    The problem was part of the WHERE clause:
    AND orderid in (500,503,505)
    In the coldfusion code this was
    AND orderid in (<cfqueryparam cfsqltype="cf_sql_varchar" value="#lstOrderID#">)
    which of course rendered in mySQL as AND orderid in ('500,503,505')
    This was not immediately apparent as the cfdump returns this as AND orderid in (?) with the variable in the array below.

  • Coldfusion/MySQL/DWeaver/Cartweaver

    Dear Developers,
    Is anyone familiar with this combination (or part of it)? I
    have been trying to learn this for years on end... I have
    downloaded MySQL, Coldfusion, bought and learned Dreamweaver
    bought Cartweaver.
    Bought Ben Forta’s book read part of it. Referred to
    the pdf that comes with Cartweaver. Taken a few MySQL classes, Fast
    Track to Coldfusion... Traveled to Ohio to take a one on one class
    with a developer, (who was helpful but that was on a PC),
    Subscribed to lynda.com and watched all related materials... tried
    to complete all tutorials available on related subjects...
    The problem is that the information in the media listed above
    used the pc in their various tutorials and not the mac... so I
    always hit a dead end... the developer center at adobe uses a mac
    in their tutorial but that one didn’t work...
    There are no books at amazon pertaining to the subject... I
    have written or e-mailed the folks at Lynda.com and Cartweaver to
    ask for relevant documentation... all to no avail...
    Can anyone out there help?
    Thank you very very much..
    Elizabeth Wallace

    CFMXPrGrmR,
    We have replied and sent all the information and links and
    training tips we
    have at our disposal, as Elizabeth mentioned in her post, she
    has the best
    resources, Ben's Book, Lynda.com, and others. Including this
    link
    http://movielibrary.lynda.com/html/modPage.asp?ID=433
    Which includes free video how to lessons on installing CF 8,
    MySQL and MySQL
    tools on the Mac. I post this just so you'll know we have and
    are trying to
    help.
    This is in no way meant to be negative toward Elizabeth
    however. Her emails
    have all be very courteous and polite and she seems like a
    great person,
    she's just stuck and is trying all her avenues. I've
    recommended that she
    find a CFUG in her area and sent her a link to the listings
    on the Adobe
    site. I wont post her location here, I'll leave that to here
    if she wishes
    to do so. Hopefully she will be able to find a CF/MySQL/Mac
    developer in her
    local to get her started.
    Lawrence Cramer
    Cartweaver.com
    "CFMXPrGrmR" <[email protected]> wrote in
    message
    news:fhhnjd$80l$[email protected]..
    > Hmm... if you've emailed Cartweaver themselves and they
    haven't replied,
    > that
    > may not be a good sign. I'm not familiar with this
    product, I imagine it's
    > for
    > an online shopping cart? I believe the CF Web App
    Construction book and
    > other
    > CF books have shopping cart code if you'd like to steer
    away from this
    > Cartweaver product.
    >

  • What is best method for learning how to use mySQL with Coldfusion?

    I have been using access databases for years with Coldfusion. I have a client that wants me to build an online classroom. I figure it's time to finally start using mySQL, but there is so much info out there, I don't know which way to turn.
    Where do you experts recommend I get started?
    Also, I am using coldfusion entrprise on my system at home. My machine is a 64-bit, 3.30Ghz AMD FX - 6100 six-core processor with 8gig of ram. Can I install mySQL on the machine and run CF8 without any problems?

    How much RAM left on your system? If the computer is strictly for development, then you have more than enough to run ColdFusion, MySQL, browsers, and other development tools.
    For MySQL download the MySQL Community Server and MySQL Workbench. There is also all-in-one package for Windows, http://dev.mysql.com/downloads/windows/installer/ that you don't need to download the server and workbench separately. The installation should be straight forward.
    By the way, other CF users may suggest you to use MariaDB (https://mariadb.org/), which is a branch of MySQL.

  • Issue modeling data from Coldfusion cfc

    Problem:  Configure return type in  Flash Builder  (using with Coldfusion) Mysql 5 driver (testing using localhost with CF also acting as the web server)
    I have tried going thru the steps presented in the video presentations for hooking Flash Builder to Coldfusion query data.  I provide a name for a Custom data type, provide variables (that are optionally required by the CFC), and then proceed.  The operation comes back with the following message.
    The operation returned a response of the type "Object"
    You may either update server code to fix the return data or CLICK OK to set "Objecdt" as the returntype of this operation
    In all of the videos I have watched, Flash Builder auto-magically introspected the table that was being called and knew the data types of  each piece of the data returned by the  query. In my case, I get the above message and cannot proceed.
    CFM Testing
    I have tested the query by calling the CFC method via a coldfusion page and dumping the result.  Everything is works with that.
    Action:
    I would like to get past the problem and learn what if anything I am doing wrong with this.  Your input is appreciated.  I have been learning CF and am getting pretty comfortable with that product. I would like to move forward with Flash Builder. I have some basic knowledge of Flex 3.
    Thanks for your help
    Background:
    CFC signature
        <cffunction name="getJewels" access="remote" returntype="any">
            <cfargument name="jType" type="string" required="no" />
            <cfargument name="jActive" type="boolean" required="no" />
            <cfargument name="jOrder" type="boolean" required="no" />
    Server Settings > Settings Summary
    Report generated on Jul 08, 2009 11:07 AM
    This report shows the status of all ColdFusion configuration settings. To display the area of the ColdFusion Administrator where you can edit the group settings, click any of the groups in the report.
    Version Information
    Server Details
    Server Product
    ColdFusion
    Version
    8,0,0,176276
    Edition
    Developer
    Serial Number
    Operating System
    Windows XP
    OS Version
    5.1
    Adobe Driver Version
    3.6 (Build 0017)
    JVM Details
    Java Version
    1.6.0_01
    Java Vendor
    Sun Microsystems Inc.
    Java Vendor URL
    http://java.sun.com/
    Java Home
    C:\ColdFusion8\runtime\jre
    Java File Encoding
    Cp1252
    Java Default Locale
    en_US
    File Separator
    Path Separator
    Line Separator
    Chr(13)
    User Name
    SYSTEM
    User Home
    C:\
    User Dir
    C:\ColdFusion8\runtime\bin
    Java VM Specification Version
    1.0
    Java VM Specification Vendor
    Sun Microsystems Inc.
    Java VM Specification Name
    Java Virtual Machine Specification
    Java VM Version
    1.6.0_01-b06
    Java VM Vendor
    Sun Microsystems Inc.
    Java VM Name
    Java HotSpot(TM) Server VM
    Java Specification Version
    1.6
    Java Specification Vendor
    Sun Microsystems Inc.
    Java Specification Name
    Java Platform API Specification
    Java Class Version
    50.0
    This is the dataset I am trying to get at.
    dstones
    CF data source name
    dstones
    Description
    Dancing stones databases
    Driver
    MySQL5
    JDBC URL
    jdbc:mysql://localhost:3306/hmsollie?
    Username
    root
    Login timeout
    30  seconds
    Long text buffer size
    64000
    Timeout
    1200  seconds
    Maintain connections
    Yes
    Interval
    420  seconds
    Restricted SQL operations
    Disable connections
    No
    Data & Services > Flex Integration
    Enable Flash Remoting support
    Lets a Flash client connect to this ColdFusion server and invoke ColdFusion Components (CFCs).                NOTE: Disabling this feature also disables ColdFusion server monitoring and multiserver monitoring.
    Enable Remote Adobe LiveCycle Data Management access
    Lets LiveCycle Data Services ES connect to this ColdFusion server through RMI                and use CFCs to read and update data that supports a                Flex application. If you are not using this feature, disable it.                This does not affect LiveCycle Data Services ES integrated in to the ColdFusion installation.
    Server Identity:
    If you are running more than one instance of ColdFusion on this machine, you must           configure each instance with a unique ID.
    Enable RMI over SSL for Data Management
    Lets you use Secure Socket Layer (SSL) encryption for the RMI communication between Flex and ColdFusion.                This is not required unless you are transmitting authentication information or confidential                data between Flex and ColdFusion over an unsecured network. You must provide a keystore file and keystore password.                For instructions on how to create a keystore file, see the online Help.
    Full path to keystore:
    Keystore password:
    Select IP addresses where LiveCycle Data Services are running
    To secure the LiveCycle Data Services ES integration point, the hosts that are allowed to perform Data Management operations are restricted. If you are running LiveCycle Data Services ES on a different computer, specify its IP address here. By default, only the local computer can perform Data Management operations in ColdFusion.
    IP Address
    View or Remove selected IP addresses where LiveCycle Data Services ES are running

    Sunil,
         I have found the problem. When initialy given the arguments list to fill in "Configure Return Type", I filled in a string argument as "E".  This gives a return of object.  To accurately use the Configure Return Type, I needed to just fill in a string as E.
    See the Screen Prints on the error
    I have tested the following functionality and it appears to work ok
    1.  I have tested with no parms to the CFC query method
    2. I have tested  using Dynamic SQL based on variables set before the query in a  CFC method
    3. I have tested passing one string argument in from Flash Builder  to a CFC method
    4. I have tested passing a string and boolean argument From Flash Builder to a CFC method
    For 3 and 4, I had make some slight changes o set the arguments that were being sent to CFC in Flash Builder before the call
    It all worked.
    **** New Issue ***
    I have another runtime issue involving states that I uncovered in my testing where buttons are the screen were being covered up when I used some of the DataGrid Controls.  If I can repeat it, I will post it and then let you guys let me know how to work around this.
    I am a Flex/AS Novice, so I may be mis-understanding something on this new issue.
    Thanks.

  • Flex with ACME installation of Coldfusion

    After a tremendously-difficult attempt (my own fault
    largely!) I have been able to get up the "ACME Guide" installation
    of Apache, ColdFusion, MySQL and Eclipse. Now it's time to add Flex
    (and hopefully PHP5 eventually...). I am in good shape at this
    point because I had to install a new OS so my trial dl will be new.
    If I can get this working and the contact database and file
    upload tutorials perfectly functional (which will prove it's
    usability to me), I will purchase all I need to migrate over to
    this way of doing things from Flash/PHP.
    Does anyone know what the best way to setup Flex is, in
    Eclipse, when you have an underlying ACME structure for everything
    else? Where can I go wrong, what would be good practice for
    installation locations, etc.?
    Thanks kindly,
    Shawn
    ps, the ACME Guide installation for ColdFusion is here, and
    worth every word of reading, especially if you are a beginner like
    me...
    http://www.acidlabs.org/extras/acme/

    Thanks. Installing Flex last night was a breeze, I just want
    to make sure everything is as centralized and logical as possible
    given the ACME changes. For example, I want all my projects in one
    area, I want all the web-open stuff to go into the proper folders
    based on the website (1 of 3 right now) in the Apache VirtualHosts
    I made, etc. and I'm hoping I can now configure Flex like that,
    including db connectivity with Quantum DB plug-in if necessary, and
    the free version of Data Services, and communication with CF. I'll
    check into the RDS section.
    There's a huge difference for someone like me between a plug
    and play install of PHP/Apache/MySQL to plop in PHP files for use
    with Flash...and this huge (definitely beautiful, but complex)
    environment all installed and configured manually...I'll be glad
    when the CF7.0.2/Flex2 books start hitting the stores.
    I still need PHP because I still have a site that will rely
    on Flash/PHP...and one site I host for someone has the GuestBook
    written in PHP...no other use for PHP on my server, but definitely
    need it for now at least. Obviously, the big plan is to move
    everything over, and I'm sure that day will come...
    Shawn

  • Dreamweaver and Coldfusion deployment

    Hi anyone
    I've developed a dreamweaver/coldfusion/mySQL site that I wish to deploy. I bought Creative Cloud in the hope that the components that work perfectly on my machine could be deployed to the CC site. This appears not to be the case. If Adobe products don't integrate here the CC subscription becomes a trifle redundant?
    Q1. Does this mean I need another supplier to host coldfusion and yet another for mySQL and if so who?
    Thanks for any illumination, I really don't want to go back to java ...
    Alan

    DWCC removes CF support, Adobe wants to migrate people to their CF Builder program (not part of Creative Cloud).
    However DWCS6 still has it and you can have both versions installed on your machine at the same time (they just won't run at the same time).
    Since you're a CC subscriber, you can get DWCS6 by following these directions: http://helpx.adobe.com/creative-cloud/kb/download-previous-versions-creative-applications. html

  • MySQL returns no query

    Hi Floks, I wonder if anyone can help me with this.
    My MySQL databse ha ssuddenly stoppped working. My ususal
    method of updating the site is to dump from a local databse in
    msyql, dropping a table then creating it anew on the remote
    databse. That way I always have a locla back up. But Now whenever I
    go throgh the process using Cocoa MySQL, Navicat or phpmyadmin I
    get a 'no query' message form the remote database and no changes
    have been made.
    Anyone come accross this before?
    Dave

    Mohammad Jabr wrote:
    can you try this code
    ViewObjectImpl productsView = getProductView1();
    ViewCriteriaManager criteriaManager = productsView.getViewCriteriaManager();
    ViewCriteria productVC = criteriaManager.getViewCriteria("ProductGroupVC");
    VariableValueManager ensureVariableManager = productVC.ensureVariableManager();
    ensureVariableManager.setVariableValue("GroupCode", "GC1");
    employeesView.applyViewCriteria(productVC);
    employeesView.executeQuery();
    Hi,
    Tried it with the code above but it does not work though. Thanks

  • Components Needed for Dynamic Application

    I'm going to need some help from those of you familiar with
    my situation. Until now, I have always worked on the front end of
    dynamic applications. However, I am now putting on the swimsuit and
    taking a plunge head first into the world of developing Rich
    Internet Applications. Here's my scenario:
    I'm running on a Mac (Intel) with OSX Leopard 10.5 installed.
    I want to build a site for my side business using a combination of
    programs that will let me deliver an interactive experience. So
    far, I've come up with the following:
    Flex and Actionscript for the front end.
    MySQL for the database storage.
    ColdFusion for the web application development and database
    manipulation.
    Apache as the local server.
    Here's where I'm getting confused. From my understanding,
    Leopard comes preinstalled with the Apache server software. Is
    Apache similar to IIS with Windows in that one must select it as a
    local server before proceeding with the Coldfusion development?
    My next question revolves around the cooperation from
    Flex>Coldfusion>MySQL. Some of the documentation I've found
    mentions that LiveCycle has something to do with this
    interactivity. Is this true, and if so, what do I need to know to
    be squared away?
    Finally, assuming my previously mentioned setup is compatible
    with one another, is this enough to be able to host my own web site
    independently on my computer?
    Thanks in advance for the help any of you can offer. I have
    experience using each of these programs to a certain degree, but
    never have I attempted to integrate each of them together into a
    fully functional unit.

    turansformer wrote:
    >
    > My next question revolves around the cooperation from
    Flex>Coldfusion>MySQL.
    > Some of the documentation I've found mentions that
    LiveCycle has something to
    > do with this interactivity. Is this true, and if so,
    what do I need to know to
    > be squared away?
    Just for some types of interactivity. If your application
    will only
    pull data from the server then liveCycle is not required. As
    well as
    LiveCycle data can be pulled using http, web services, and a
    couple of
    others.
    If you want the server to be able to push data to clients
    then LiveCycle
    is required. But a free production server limited to a one
    CPU server
    is included in ColdFusion 8 installations.
    Buy the way LiveCycle's is the new name of the original Flex
    Data
    Services you may see in some older documentation.

  • Configurations errors on mac

    I have dived in at the deep bought a mac and moving to flex 4. Coming from a delphi windows background I am finding it painful at the moment.
    I have php installed and working on the mac. (phpinfo) is working.
    I have installed MYSQL & navicate (created a sample database) so I know that is working.
    I have download ver 10 of the zend framework (created a folder libray/webserver/share/httpd/Zend then added all the files there)
    I have added the following to the php.ini file (located at /private/etc/php.ini)
    extension=php_pdo.dll
    extension=php_pdo_mysql.dll
    extension=php_mysql.dll
    extension=php_mysqli.dll
    include_path = ".:/libray/webserver/share/httpd/Zend"
    When I try to generate a sample php Service I get the error:
    Server error The mysql driver is not currently installed
    What configuration have I got wrong here please?
    At idiot please
    Cheers
    SteveW

    I have produced a webservice in php
    http://www.iw50.com/results.php?user=22
    This brings back the reg and PCN number.
    I have added the service as a datasource and when I use the flex 'test
    ' util I get a result.
    When I run the app I get a security error locally.
    I have put everything on the web and the web service is in the same domain.
    When I click I do not get any results
    code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="700" xmlns:appealsservice="services.appealsservice.*" xmlns:userservice="services.userservice.*" xmlns:userservice1="services.userservice1.*" xmlns:ticketsservice="services.ticketsservice.*" xmlns:valueObjects="valueObjects.*" xmlns:test2="services.test2.*" xmlns:getreg1="services.getreg1.*">
        <s:layout>
            <s:BasicLayout/>
        </s:layout>
        <fx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                import mx.controls.Alert;
                protected function button_clickHandler(event:MouseEvent):void
                    Operation1Result3.token = getreg1.Operation1(userTextInput.text);
            ]]>
        </fx:Script>
        <fx:Declarations>
            <getreg1:Getreg1 id="getreg1" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="Operation1Result"/>
            <s:CallResponder id="Operation1Result2" result="posts = Operation1Result2.lastResult as Posts"/>
            <valueObjects:Posts id="posts">
                <valueObjects:post>
                    <valueObjects:Post/>
                </valueObjects:post>
            </valueObjects:Posts>
            <s:CallResponder id="Operation1Result3" result="posts2 = Operation1Result3.lastResult as Posts"/>
            <valueObjects:Posts id="posts2">
                <valueObjects:post>
                    <valueObjects:Post/>
                </valueObjects:post>
            </valueObjects:Posts>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <mx:Form defaultButton="{button}">
            <mx:FormItem label="User">
                <s:TextInput id="userTextInput"/>
            </mx:FormItem>
            <s:Button label="Operation1" id="button" click="button_clickHandler(event)"/>
        </mx:Form>
        <mx:Form x="89" y="115">
            <mx:FormHeading label="Posts"/>
            <mx:HRule width="100%"/>
            <mx:FormHeading label="Post"/>
            <mx:FormItem label="Registration_No">
                <mx:Text text="String[]"/>
            </mx:FormItem>
            <mx:FormItem label="PCN">
                <mx:Text text="String[]"/>
            </mx:FormItem>
        </mx:Form>
    </s:Application>
    http://www.iw50.com/Myapp/testapp1/bin-debug/testapp1.html
    4hours later

  • DataGrids, ArrayCollections, Ohh My

    Hello, I am new to flex and Actionscript, and have been
    working with flex 3 with as3. I am using the flex builder 3 beta 1.
    I have only been working with in this environment for only about a
    month so please be patient. I do have experience in ColdFusion,
    MYSQL, and basic web technologies such as CSS, HTML, a little JS.
    So here is my problem.
    my current project is a custom CMS - being Customer
    Management Softeware.
    <mx:RemoteObject id="customer_RO" destination="ColdFusion"
    source="cms.cfc.customerConnection">
    <mx:method name="getCustomers"
    result="customerHandler(event)"/>
    <mx:method name="getContacts"
    result="contactHandler(event)"/>
    </mx:RemoteObject>
    <mx:Script>
    <![CDATA[
    /* Creates Bindable Array variable for the Customer List */
    [Bindable]
    private var CustomerList:ArrayCollection;
    [Bindable]
    private var ContactList:ArrayCollection;
    /* Creates an application initialization to load before
    application loaded */
    private function initApp():void
    customer_RO.getCustomers();
    customer_RO.getContacts();
    /* Created data handlers for the remoteObject method */
    private function customerHandler(event:ResultEvent):void
    CustomerList = ArrayCollection(event.result);
    private function contactHandler(event:ResultEvent):void
    ContactList = ArrayCollection(event.result);
    ]]>
    </mx:Script>
    Now here are my data grids.
    <mx:DataGrid id="dg1" x="0" y="0" width="100%"
    height="100%" dataProvider="{CustomerList}">
    <mx:columns>
    <mx:DataGridColumn headerText="Name"
    dataField="companyname" width="250"/>
    <mx:DataGridColumn headerText="Address"
    dataField="street1"/>
    <mx:DataGridColumn headerText="City" dataField="city"
    width="100"/>
    <mx:DataGridColumn headerText="State"
    dataField="statecode" width="50"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:DataGrid x="0" y="0" width="100%" height="100%"
    dataProvider="{ContactList}">
    <mx:columns>
    <mx:DataGridColumn headerText="Name"
    dataField="firstname" width="150"/>
    <mx:DataGridColumn headerText="Email" dataField="address"
    width="175"/>
    <mx:DataGridColumn headerText="Phone"
    dataField="phonenumber" width="175"/>
    </mx:columns>
    </mx:DataGrid>

    Hi,
    I think you have to try following code.
    private function customerHandler(event:ResultEvent):void
    var dataArray:Array = new Array();
    dataArray = event.result as Array;
    CustomerList = new ArrayCollection(dataArray);
    This will work for you cose i have faced same problem It
    solved my problem.
    thanks,
    Megha

  • Can anyone offer direction?

    Hello,
    I am a new  website designer/developer and have been using Adobe tools, Classroom in  a Book lessons, and Lynda.com to give myself a crash course, and am  learning fast. But I have been asked to develop a website that is  outside of my scope and need some direction on where to start.
    The  site is going to be an e-commerce site, with extra user interactivity  options. So users will access the site, upload their own photos, crop  and move, change fonts, and add words to a product that they will then  order and pay for.
    I see two components here - the  shopping cart portion, and the interactivity portion.The client  (luckily, my sister-in-law) also wants to be able to edit the site  herself. On a level of professionalism, she wants POLISH - a 9 on a  scale of 1-10.
    I have viewed information/tutorials on  Business Catalyst, Cartweaver, PHP, Coldfusion, MySQL, AJAX, Spry,  Flash, Dreamweaver and Wordpress...and I am still a bit lost on which of  the above to focus on - or something else entirely?
    Can anyone recommend? I have CS5.
    Laurena

    function(){return A.apply(null,[this].concat($A(arguments)))}
    function(){return A.apply(null,[this].concat($A(arguments)))}Laurena, turn back now since you are still young and have a life!! lol, just kidding.  I got into web design about 10 years ago, thinking it would be a fun job. I tell ya, I've spent so much time hitting the coding books that If I spent this much time on medical text-books, i'd be a brain surgeon by now making some decent cash. And the languages seem to evolve quite rapidly. CSS is the main culprit of frustration, you will spend more than half of your time trying to make your site look consistent across multiple browswers. Not fun!!
    Hola
    This has to be the best answer so far in this forum
    It made may day
    Thank you for posting this Mike
    Saludos

  • ColdFusion 10 - MySQL Communications link failure

    We are migrating some websites onto a cloud infrastructure running Windows 2008 virtual machines.  These websites all run on ColdFusion with MySQL databases.  They currently are running in our CoLo with no problems.  Additionally, they are running on our development network in our offices with no problems.
    We are setting up our cloud to match as closely as possible the configuration we currently use which is, essentially, CF10 + IIS on one server and MySQL on a separate machine.  We are 99% finished and most things are running great.  However....
    We have run into a couple, as in 2, places where we click a link/button and are greeted with:
    Error Executing Database Query.
    Communications link failure The last packet successfully received from the server was 0 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.
    Scanning the stack-trace I also find:
    `Caused by: java.net.SocketException: Connection reset`
    The communications link error is ALWAYS: 0ms.
    What's most puzzling is the Queries that seem to be causing this are *simple* queries that are used ALL OVER the sites with no problems.  Why they are failing at hese 2 particular places has us at wits end.
    Our only clue is, looking at the CF Error description of what scripts are called, we can see the script where the query is failing is getting called twice?  For example, one of the occurences is in our Application file:
        >The error occurred in D:/Our_Web_Sites/oursite/Application.cfm: line 73
        >Called from D:/Our_Web_Sites/oursite/Application.cfm: line 17
        >Called from D:/Our_Web_Sites/oursite/Application.cfm: line 1
        >Called from D:/Our_Web_Sites/oursite/Application.cfm: line 73
        >Called from D:/Our_Web_Sites/oursite/Application.cfm: line 17
        >Called from D:/Our_Web_Sites/oursite/Application.cfm: line 1
    We can find nothing in our CF code that would be causing the script to be called twice so our guess is the first call is failing on the Query so CF tries again...only to fail and error.
    Googling this issue I've found lots of posts about changing the MySQL timeouts.  None of those worked and I didn't expect them to since what we're dealing with doesn't appear to be a timeout issue.  These pages fail each and every time.
    The closest we've come to a solution came from this blog posting:
    http://www.talkingtree.com/blog/index.cfm/2011/1/12/Validation-Query-for-MySQL-communicati ons-link-failure
    If we UNCHECK the "Maintain connections across client requests. " setting in CFAdmin then the error goes away.  The blog suggests leaving that checked, which is our preference, and using Connection Validation of "SELECT 1;".  Try that...same error.
    We've also tried the JDBC AutoConnect=true option.  No effect.
    Downloaded latest JDBC Connector and used it instead of standard CF10-MySQL connector.  No effect.
    Again, 99% of the site works with the exception of these two links, both of which work just fine in all our other environments.  Any other ideas?

    I have some questions.
    1) You talk of 2 calls. However, you show us 5 calls from Application.cfm. What do those line numbers tell us?
    2) Shouldn't that be AutoReconnect=true rather than AutoConnect=true? In any case, it seems that the problem here is that ColdFusion attempts to use a stale connection to the database. It is then usually preferable to change wait_timeout instead. The MySQL documentation says, 'Alternatively[to AutoReconnect=true], as a last option, investigate setting the MySQL server variable "wait_timeout" to a high value, rather than the default of 8 hours.'.
    3) Shouldn't you already convert to Application.cfc?

  • IIS7 + ColdFusion 9 connection to MySQL database

    Hi,
    I have set ColdFusion 9 and IIS7 now, it  needs to connect MySQL database from ColdFusion 9.
    What I still need to make it all work.
    Please tell me how do I connect to my MySQL database from ColdFusion
    Thank you.

    When I configure Flex. The combination of ColdFusion server when setting location, set on a standalone and there is automatically selected Deployed to J2EE server. Why is this happening?

Maybe you are looking for

  • Restoring iTunes from Time Machine and external HD

    Hi there, I've done some searching and i haven't been able to find the answer to this problem. I am wondering if someone can help me with this. My HD was faulty so i had it replaced.  my complete 300gb music library was backed up on an external HD. T

  • Material/Location specific exception messages of MD04

    Hi, Any pointers to get a report of all exception message in for specific material,plant combinations so that those can be targeted for correction . i.e. In MD04 for a material at location we can see the exception messages ,do we have any table or re

  • Help Transferring Old 8mm Videos into Final Cut Xpress

    Like a lot of people, I have a bunch old 8mm tapes. I'm trying to find out what camera I should be looking for in order to use a Firewire connection to my Mac Pro to get this footage into FCE, but I don't want to make a mistake and buy something that

  • IMessage says the volume is full

    Ihr Volume ist nahezu voll, wodurch eingehende Nachrichten u. U. verloren gehen. What does this new message mean, it pops up with every new iMessage I receive ...

  • IPOD NANO 5 GENERACION

    MI IPOD GRABA VIDEO PERO SIN AUDIO Y ANTES NO PASABA ESTO Q SERA LO Q LE PASA?