Trying to connect to MySQL on a mac

Hi all
I have recently made the move to Mac and DW8. I am used to
using DW on windows and understand how to setup IIS and the
database connections. My problem is I develop in ASP and so have
set up my mac with Parallels to run the bootcamp installation of
windows at the same time. So now I have IIS serving the local web
pages with no problems however I am unable to make a connection to
any MySQL server. I have three set up in total, one on the main web
server at the address 213.121.208.56, and two locals setup, one as
a mac installation on 192.168.1.3 and the other on the parallels
virtual machine at 192.168.1.6.
I have downloaded and installed the MyODBC 3.51 connector for
Mac OS X. When I use a connection program like Navicat or SQL Yog I
can make a successful connection to any of the databases.
When I try to make the connection in DW I either get a path
not recognised error or 401 unauthorised error. I am obvisousley
making an error in the way I am setting up DW and testing server
paths in this configuration.
Does anyone know of a tutorial about this or has anybody had
any similar issues that they managed to fix?
Any help greatly appreciated.
cheers
Graham

it means that ur driver isnot able to find the mysql server. so check that it is effectively running and then check the url u've given ('machine' and 'port' number - also if u're using mysql default, no port number is required in the url -)

Similar Messages

  • Novice trying to connect between office and home MACs

    Advice for system novice
    trying to connect between office and home MACs
    Office MAC OSX 10.2.8 (also runs classic mode)
    G4 Computer in the office (only mac in office all others are PC)
    I need to connect home computer
    IMAC OSX 10.4 Tiger. Connecting via cable modem and have router
    I do not have good networking skills, i this something that is doable myself or should I call in a pro?

    It's doable.
    But at home you need to find the "outside" IP that the Internet sees, not the one you see on that machine.
    what's my ip...
    http://www.whatsmyip.org/
    Then you'll need to "Forward Ports" on the home router so incoming stuff knows where to go.
    Then you'll need to enable the Services you wish to use on both machines.

  • Hi, I am trying to connect a WD Mybook for Mac to my airport/time machine device.  On the AirPort Utility it listed under Disks at 0 Mb.  I enabled file sharing.  But nothing happens.  If I plug it directly into my MacBook it works fine.  How do I fix it?

    I am trying to connect a WD Mybook for Mac to my airport/time machine device.  On the AirPort Utility it listed under Disks at 0 Mb.  I enabled file sharing.  And also followed all the steps - "secured disk access: with a disk passord", "Airport disk guest access: read and write", "Share disks over WAN". But nothing happens.  If I plug it directly into my MacBook it works fine.  How do I fix it?  Also, its connected via a powered usb hub.

    I assume that you are using  Mac operating system 10.4.11, as your profile indicates.
    The instructions that you referenced are for use with AirPort Utility....not AirPort Admin Utility.
    Suggest that you download and install AirPort Utility 5.4.2 for Mac , which will run on 10.4.11.
    Also noticed that the instructions do not tell you that the hard drive should be formatted in Mac OS Extended (Journaled) to work with the AirPort Extreme, but they should.

  • I'm new to macs and I'm trying to connect my ipad to my mac to download music onto my ipad. i figured it was the same percedure as hooking a ipod to a pc. thanks for the help.

    im new to macs and im  having problems connecting my ipad2 to my mac pro. i figured that it was the same percedure as hooking a ipod to a pc.... thank for te help!

    Open iTunes with your iPad connected.  It should be listed in the Devices section of iTunes sidebar.  Select it.  You should now see a window with several tabs across the top.  You configure what you want synced under each tab, then sync.
    You can download a PDF or iBook version of the user guide here.  It contains detailed instructions on using the iPad, so I recommend you read it.

  • Trying to connect to mySQL

    I have just downloaded and installed mySQL. I have created a
    connection to my testing server but when I try to connect to a
    database i get all kinds of errors. All i did was install mySQL
    straightup no username or password. Under MySQL connection from.
    Would my username be root and password is <nothing>. What is
    mySQL server? can someone help on how to create a connection to
    mySQL?
    thanks in advance

    cpltek wrote:
    > I just downloaded the heidi sql front which is pretty
    cool. I plan on using Dreamweaver 8 to connect to my databases, do
    I still need the myodbc??
    No. Dreamweaver connects natively to MySQL using
    mysql-specific functions.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Runtime error during createStatement() trying to connect to MySQL database

    I am trying to make a script to access a MySQL database over the internet. I can get this to work on my home server using PHP, but I can't figure out why my code below is not working. I get a runtime error in the conn.createStatement() line but I can't figure out what the problem is... Any help is appreciated...
    import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class sqltest extends Activity {                 Connection conn=null; try { // from http://help.godaddy.com/topic/319/article/262 conn = DriverManager.getConnection( "jdbc:mysql://profiles.db.1111111.hostedresource.com:3306/dbname", "dbname", "password"); } catch (SQLException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } try { // Create a result set containing all data from mysql_all_table Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT * FROM *");                 } }
    PS: I am developing this code for android using Eclipse, but I think the issue is a pure java code related...

    You catch the conection exception and keep on going. So 'conn' is null. That produces a null pointer exception at the createStatement() line. Which I am guessing the IDE tells you exactly that.

  • Problem of remote connection on MySql Server from Mac OSX

    Hi everyone,
    I have a flash application that work on both plateforms Pc and Mac. In this application i do a connection to a MySqlDatabase to activate it.
    so, to make my tests i have a pc and mac on the same home network
    to make sure it works fine, i have installed EasyPhp on my PC and MAMP on the Mac, to be able to test the connection to local MySqlServer.
    the syntaxe that i use to connect to the database is this one :
    mdm.Database.MySQL.connect(host:String, port:String, compression:Boolean, userName:String, password:String, databaseName:String)
    So, to connect to local MySqlServer : i have this code:
    mdm.Database.MySQL.connect("localhost", "3306", true, "root", "", "DBName");
    and it work just fine on the PC using EasyPhp and on the Mac using MAMP. I can connect on my database on each plateform.
    So now, i want to connect to our remote MySqlServer, so, to connect to our Private server : i have this code:
    mdm.Database.MySQL.connect("64.150.160.230", "3306", true, "userName", "userPassword", "DBName");
    on the PC: it works just fine, i am able to connect to our database and do queries on our private server.
    on the Mac : it cannot connect... errore message: unable to connect to server
    I really don't know where it is coming from.
    I would like to test a connexion to my remote MySqlDatabase, by sinf just the terminal. Does anyone know the syntaxe to use to connect to a remote MySqlDatabase using the Terminal?
    It can be a blocked port on my Mac, because i am able to connect with this port on my local MySql Server...
    Any help will be welcome.
    Best regards.
    Mac OS X (10.4.9) 2Ghz Intel Core 2 Duo
      Mac OS X (10.4.9)   2Ghz Intel Core 2 Duo

    Dud you install the mysql software?

  • HT4623 I upgraded my ipad to ios 7 and it's one requesting a passcode  have no idea what it is because I never had a passcode. Tried to connect to iTunes on my mac but still won't work

    I upgraded my ipad to ios 7 and now it's asking for a passcode. Have no idea what to enter because I never needed a passcode. Connected it to iTunes on my mac but still doesn't work

    Hi Lmprettyman,
    Thanks for visiting Apple Support Communities.
    This article has more information on passcode lock and how to return your iPod to working order:
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/HT1212
    If you have never synced your device with iTunes, or you do not have access to a computer
    If you see one of following alerts, you need to erase the device:
    "iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."
    "You haven't chosen to have [device] trust this computer"
    If you have Find My iPhone enabled, you can use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.
    Alternatively, place the device in recovery mode and restore it to erase the device:
    Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to shut down.
    While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    Continue holding the Home button until you see the Connect to iTunes screen.
    iTunes will alert you that it has detected a device in recovery mode. Click OK, and then restore the device.
    All the best,
    Jeremy

  • I am trying to connect my ipad version of garage band to my mac book pro so as to record directly from the ipad as a midi instrument but with no success.  Can you help?

    I am trying to connect my ipad to my mac book pro.  I want to use the ipad as a software instrument (playing from garage band) and to record in garage band on the mac book.  I have plugged the ipad in, turned on the ipad and opened up garage band but the mac book pro has not picked it up.  Why?  Any suggestions.

    Maybe it should, I'm all PC here so I can't actually test it myself. As far as I can recall all the stuff I've read has GarageBand for iOS acting as the recording instrument in the MIDI relationship rather than an input device for something else.
    Could be worth posting to GarageBand for iOS Feedback and suggesting it as a feature.
    tt2

  • My mac is always  trying to connect to another computer which is not on the networkc

    My mac is always trying to connect to one of my Mac which is not on the network..
    I cannot find why and what application is doing that ?

    You might want to monitor this thread. Thomas Reed usually solves problems:
    https://discussions.apple.com/message/20341397#20341397

  • Error when connecting to MySQL Database

    I am trying to connect to MySQL and receive an error everytime. I have attempted to talk to Bluehost (who my site is hosted thru) and they said it is not on their end and not something they can help me with. I set up a new MySQL Database with Bluehost and then set up the site through DW and everything went fine. I secured an ftp connection and went on to connect to MySQL. When I enter in my credentials for SQL Database, it returns:
    HTTP Error Code 404:
    Reason 1. No testing server running on the server machine.
    Reason 2. Testing server specified for this site deos not map to the http://my_domain.com/_mmServerScripts/MMHTPDB.php URL. Verify the URL Prefix maps to the site.
    The testing server model I am using is set to PHP MySQL and URL Prefix I am using (my_domain.com) is my website URL. I watched a YouTube video someone suggested elsewhere on how to add MMHTTPDB.php and mysql.php files to _mmServerScripts folder since the folder is empty but unfortunately, those files are not found on my computer. I assume they were supposed to be installed when I installed DW, but they are not here. I have done a general search of the comp and looked in each folder that was installed with DW and sadly, no files that match those names. What can I do? How can I make an SQL connection? Please help. It is greatly appreciated.
    -Sharon

    Your answer can be found somewhere in here http://forum.wampserver.com/read.php?2,83382,88694
    My hosts file (c:\windows\system32\drivers\etc\hosts) looks like
    # Copyright (c) 1993-2009 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    # localhost name resolution is handled within DNS itself.
        127.0.0.1       localhost
        ::1             localhost

  • Can't connect to MySQL from Oracle 11g R1

    Hello Oracle's guru.
    Sorry for my English it's not my native langauge
    Enviroments: Oracle 11g R1, Windows 7, ODBC Driver 5.1.8
    I have a some problem with creation gateway to connection to MySQL, and I hope somebody can help me.
    So,
    1) ODBC name - MYSQLDSN
    2) initMYSQLDSN.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = MYSQLDSN
    HS_FDS_TRACE_LEVEL = 0
    3) listener.ora
    # listener.ora Network Configuration File: E:\app\voxa\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=MYSQLDSN)
    (ORACLE_HOME=E:\app\voxa\product\11.1.0\db_1)
    (PROGRAM=dg4odbc)
    4) tnsnames.ora
    # tnsnames.ora Network Configuration File: E:\app\voxa\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    CXWH =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CXWH)
    MYSQLDSN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
    (CONNECT_DATA =(SID = MYSQLDSN))
    (HS = OK)
    Then I trying to connect to MySQL using sql*plus:
    C:\Windows\system32>sqlplus
    SQL*Plus: Release 11.1.0.6.0 - Production on Ср Июн 1 12:13:39 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    login: system
    pass:
    Connect to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> create public database link MYSQLDSN
    2 connect to DEMO identified by "DEMO" using 'MYSQLDSN';
    Channel was created
    SQL> select * from items@MYSQLDSN;
    select * from items@MYSQLDSN
    Error in line 1:
    ORA-28500: connection with ORACLE with other system return message:
    [MySQL][ODBC 5.1 Driver][mysqld-5.5.12]You have an error in your SQL syntax;
    check the manual that corresponds to your MySQL server version for the right
    syntax to use near
    '"ITEMS_KEY",A1."ITEM_NAME",A1."ITEM_CATEGORY",A1."ITEM_VENDOR",A1."ITEM_SKU",A1
    .' at line 1
    ORA-02063: предшествующий 2 lines из MYSQLDSN
    If I trying create new ODBC mobule via OWB, I had next error:
    [MySQL][ODBC 5.1 Driver][mysqld-5.5.12]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"DUAL"' at line 1
    ORA-02063: предшествующий 2 lines из OWB_56
    What I do wrong? Please help me

    Hi,
    You can download the 11.1.0.7 patchset from My Oracle Support -
    support.oracle.com
    as patch 6890831.
    Once logged in click on 'Patches and Updates' and enter the patch number as 6890831 and choose whichever platform you are running.
    the readme explains how to apply the patch to an existing 11.1.0.6 install.
    The url you posted is only for complete product installs, but 11.1.0.7 is only a patchset that must be applied to an existing install.
    Regards,
    Mike

  • Error occured when connect to MySql Databse in Dreamweaver

    Hello! I met a problem when connect to Mysql Databse in
    Dreamweaver
    Details:
    My Php Environment: Php 5.2.2+ MySql 5.0.4 + IIS 6.0 + DW IDE
    + WinXP SP2,
    All necessary sevice started(Actually I have never stopped
    any Windows service).
    Php installed (IIS + CGI) and tested successfully in DW
    MySql Installtion(Typical Install with extensions ) and
    configuration are both OK.
    Configuration Details:
    For configuration type, select Detailed Configuration.
    For server type, select Developer Machine
    For database usage, select Non-Transactional Database Only.
    For the number of concurrent connections, select Decision
    Support(DSS)/OLAP.
    For networking options, accept the default settings.
    For the default character set, accept the default setting.
    For the Windows options, select both options – Install
    As Windows Service, and Include Bin Directory in Windows Path.
    For security options, enter a root password and confirmed.
    And then I Created a database "mydb" with 3 tables inside by
    "MySql Command Line Client",
    ...... (Approach Obmit here)
    Open "MySql Command Line Client":
    Type >mysql Show Database mydb;
    Show a list with 3 tables(Created Successfully)
    Then In DW,
    Open my Php webpage,
    Then from Database Panel>MySql Connection,
    Connect Name:myconn
    Mysql Server:localhost
    Username:root (Right)
    Password:111111(Right)
    Database:mydb
    Click "OK", but when DW tried to connect to MySql database,
    then DW popuped an alert dialog says "HTTP Error Code 502 Bad
    Gateway",
    I don't know what this mean and how to solve this problem,
    hope any PHP and DW expert can help me, thank you very much.

    Phoenix Wang wrote:
    > Click "OK", but when DW try to connect to MySql
    database, then popup an alert
    > dialog says "HTTP Error Code 502 Bad Gateway",
    > I don't know what this mean and how to solve this
    problem, hope any PHP and DW
    > expert can help me, thank you very much.
    How have you set up the Testing server in your site
    definition?
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • What is the application which is always trying to connect to a server ?

    what is the application which is always trying to connect to a server ?
    My macbook is always trying to connect to one of my Mac which is not on the network ?
    How to stop with that ?
    Cheers.

    Oh, just the message ("there was a problem connecting to the server...."..)
    I (perhaps) just find the solution..
    I reset the sync service folder
    http://support.apple.com/kb/TS1627

  • Error in connecting to mysql database using jsp

    Hi
    I've encountered this error:
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    while trying to connect to MySQL db.
    I've downloaded the driver from www.mysql.com, and set the classpath as: "C:\mm.mysql.jdbc-1.2b;%CLASSPATH%;"
    But it juz doesn't seem to work...
    Can someone pls help me?

    These are my settings in autoexec.bat:
    SET PATH=C:\PROGRA~1\ABRIAS~1\ABRIAS~1\PERL\BIN;%PATH%;
    SET JAVA_HOME=C:\jdk1.3.1
    SET TOMCAT_HOME=C:\Tomcat3.2.3
    SET CLASSPATH=C:\mm.mysql.jdbc-1.2b;%CLASSPATH%;
    Well, i'm quite new to jsp so i'm not sure what u meant by "In the servlet container's init scripts?". I onli did the settings above and reset my server.
    I've tried checking the dir...and yes there's a dir named org.
    Any ideas wat can possibly be wrong???

Maybe you are looking for

  • Can I lock in a zoom level (e.g. Page View) so it won't change?

    I'm wondering if there is a way to prevent Adobe Reader from changing my zoom level.  I prefer to read with the zoom level set to Fit Page.  Every time I click on a bookmark to jump to another page in the document, the zoom level changes to Fit Width

  • HT201263 how can i restart an iphone 5 without previous owner apple id?

    so i bought an iphone 5 from a person i dont know and have no contact with at all or getting a hold of. when i got it the iphone screen just said disabled iphone connect to itunes so i did that and now it should me until i put in my apple id but sinc

  • JAXB : ClassCastException while using generated java objects

    Hi, I am using JAXB for unmarshalling my xml to set of java objects. It is working but when i use one child object and cast it i am getting ClassCastException. java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot

  • Why does my comment say my name is SCOTT BENSON?

    I left a comment here: http://livedocs.adobe.com/flex/3/html/asdoc_9.html#142061 And it says my name is SCOTT BENSON (which it is definitely not). How do I change this? I've been on the phone with customer support and they have no idea what I'm talki

  • How do you convert Text to Columns?

    When I try to convert text to columns the column tab in the text section of the inspector is grayed out, thus not letting me break the text string apart. How do I get Numbers to convert a text string to columns based on spaces, comma, or tabs seperat