DW CS3 MySql Connect Problems Local Mac

Hi,
I switched from CS2 to CS3, somewhere along the way I can no
longer connect to MySql doing local testing. I know the MySql
server works as I can connect to it and work with tables etc with
Navicat.
I keep getting:
Warning: mysql_pconnect() [function.mysql-pconnect]: Can't
connect to local MySQL server through socket
'/var/mysql/mysql.sock' (2) in
/Users/Rich/Sites/Site/htdocs/Connections/Main.php on line 9
Fatal error: Can't connect to local MySQL server through
socket '/var/mysql/mysql.sock' (2) in
/Users/Rich/Sites/Site/htdocs/Connections/Main.php on line 9
Anybody got any ideas?
Thanks
Rich

I'm running 10.5.8 so this may be completely the wrong answer...
Have you set the privileges on the MySQL user on the server database to allow a connection from a remote client IP Address?
You can do this via phpMyAdmin user privileges or as a MySQL command, something like
GRANT SELECT ON <database>.<table>
TO <user>@'<IP address of client>'
IDENTIFIED BY "<password>";
The IP address can contain a wild character, e.g. 192.168.1.%
john

Similar Messages

  • PHP and MySQL Connection problem

    I am trying to make a PHP MySQL on a remote server connection in Dreamwesaver CS3.
    When I enter the information (host, user, password, etc.) and hit TEST, I get the following error message.
    "Access Denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the server is properly configured."
    I know the user, password, etc. work, as I can access the MySQL database with other software.
    I checked with my host and they say there are no permission problems on their end.
    I have checked the settings on the Test Server page in Site Setup and everything looks correct and works there.
    I have not seen this particular problem described in other forum postings (although there are a LOT of postings on this topic!).
    Any help would be appreciated.

    I thought my testing server was the remote server and is always on as far as I know. I don't know how to turn it on or off.
    Is there some other testing server that I should be aware of?
    Frank
    Date: Wed, 3 Jun 2009 15:43:02 -0600
    From: [email protected]
    To: [email protected]
    Subject: PHP and MySQL Connection problem
    I know you are using remote, but is your testing server on? if not turn that on and see if that does it. it just happened to me working on remote server and could not get mysql conn to work, until I turn on my testing (developer server), then I was able to connect to mysql and the tables that I created in phpmyadmin remotly was downloaded.
    >

  • DW CS3 to MySql connection problem

    I have DW CS3 on Windows Vista. I have installed the Apache
    web server and MySql. I've associated the Apache server for testing
    and it works fine for page displays, so when I make a change to a
    page and hit F12 it is uploaded to the test environment and
    displayed in a browser.
    MySql is up and running, I can log onto it with the MySql
    admin client and see my database (just a testing one).
    When I try to test the sql connection I get the message "An
    unidentified error has occurred" and I don't have access to the
    data.
    When I try to test a PHP page it is treated as a file object
    and not processed, just loaded for editing.
    I don't know what I've set up wrong, any help
    appreciated.

    Was this issue resolved?
    I have the same problem now. DW was working fine the one day and the next when I started it it had this connection problem.
    I am testing on my local PC. My sites is at http://localhost/
    All my connection are working because if I go to http://localhost/index.php I can see my site and if I go to http://localhost/register.php I can even register a new user. It will include the new user details in the data base and everything is working fine. So there is nothing wrong with the connection.
    In DW I do have http://localhost/ on the Local Info screen. As I said, all was working fine on the current setup the one day and the next day it did not want to work.
    Seems like a very common problem.
    I want to buy CS4 and surely hope that the problem has been fixed by now.

  • Photosmart 3210 wireless connection problems to Mac OS 10.7.5 on MacBookPro via Asus RT-N56 router

    My 3210 is connected via ethernet to an ASUS RT-N56 router (new last year). My macbook pro connects via wireless. Also connected via ethernet are two windows PC's. Other family laptops connect via wireless.
    All machines can ping the printer successfully, the network sees the printer OK
    Everything was working OK for several years (with another laptop before I got the Macbook over 2 years ago) until recently, I think when the Mac OS upgraded to 10.7.5.
    Now I have problems printing from the MacBook. When I first power up the macbook & the printer, usually all is OK for a short while, it prints OK. But then  I get error message "the printer is not connected". At the same time as this message is showing on the Macbook, I can ping the printer OK from all machines, including the Macbook and print OK from either PC, but as far as the Macbook is concerned the printer is not connected.
    Sometimes after a considerable delay, the printer seems to re-connect to the Mac for no apparent reason. Normally the only way I can restore printing is to delete the print queue, then power down the printer, and the router, wait 5 mins and re-start everything.  It generally works for a few print jobs before the problem reappears.
    I have tried deleting and reinstalling the printer. I've replaced the cable between the printer and the router.

    I would recommend that you download the driver through Apple Software Update. 
    Before we do that, we want to uninstall any incompatible software you may have installed on your computer by running the HP Uninstaller located under Applications > HP or the Hewlett-Packard folder.
    After you do that, we will want to download the drivers. The drivers for your product are available through Apple Software Update.
    Before you do anything, temporarily unplug the printer's USB cord from either the printer or the computer. Next, check for any available HP Update's by clicking the Apple icon and then Software Update.
    If no updates could be retrieved, download the full HP Printer Drivers v.2.14 from Apple:
    http://support.apple.com/downloads/DL907/en_US/HPPrinterDrivers2.14.dmg
    Once you have completed the installation you will want to plug your printer back in. After the printer is plugged back in, go into your print settings under System Preferences > Print & Scan. To add the printer, click the plus sign. You should see your printer listed here. Select it. If underneath the printer you see "Use:”.  Make sure that says the name of your printer and not AirPrint. Click Add down in the bottom right hand corner.
    Best of luck,
    Kyle
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Magic Mouse Bluetooth connection problems with Mac OS X Lion

    I've a problem with my Magic Mouse on  bluetooth since I've updated my Mac to Lion, it's disconnecting too often. How to fix it ?

    It might be a physical battery connection problem. The solution was already described by this article:http://macs.about.com/od/tipstricks/qt/Fix-Magic-Mouse-Disconnects.htm
    Placing a trimmed piece on paper that was cut from a business card between the batteries and the battery-enclosure lid helps hold the batteries down firmly. This eliminates the tiny freeplay that allows a physical battery terminal disconnect when the mouse is jolted.

  • MySQL connectivity Problem URGENT plz

    Hi
    plz can any one help me... its urgent
    i need java to connect to MySQL database.with mm.mysql.Driver
    the following sample code is just copied from the site and made changes in hostname, dbname and username.
    classpath has been given correctly for the mm.mysql.Driver package (mysql.jar).
    Thanx in advance....
    Result
    compilation --> success
    while executing i get the following Error.
    java.sql.SQLException: General Error: null
         at org.git.mm.mysql.connection.<init>(Connection.java)
         at org.git.mm.mysql.Driver.connect(Driver.java)
         at java.sql.DriverManager.getConnection(DriverManager.java: 515)
         at java.sql.DriverManager.getConnection(DriverManager.java: 197)
         at JDBCDemoCreate.getConnection(JDBCDemoCreate.java: 36)
         at JDBCDemoCreate.<init>(JDBCDemoCreate.java: 14)
    java.lang.NullPointerException
         at JDBCDemoCreate.<init>(JDBCDemoCreate.java: 17)
         at JDBCDemoCreate.main(JDBCDemoCreate.java: 47)
    Here is the code. can any one try this !
    // JDBCDemoCreate.java
    1.     import java.util.*;
    2.     import java.sql.*;
    3.
    4.     public class JDBCDemoCreate {
    5.
    6.     private static final String hostname = "hostname";
    7.     private static final String port = "3306";
    8.     private static final String database = "dbname";
    9.     private static final String username = "username";
    10.     private static final String password = "";
    11.
    12.     public JDBCDemoCreate() {
    13.
    14.          Connection c = getConnection();
    15.
    16.          try {
    17.               Statement s = (Statement)c.createStatement();
    18.               s.executeUpdate("CREATE TABLE rich ( id int primary key, name char(25) )");
    19.          } catch ( Exception e ) {
    20.               e.printStackTrace();
    21.          }
    22.
    23.     }
    24.
    25.     private Connection getConnection() {
    26          // Register the driver using Class.forName()
    27.          try {
    28.               Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    29.          } catch ( Exception e ) {
    30.               e.printStackTrace();
    31.          }
    32.
    33.          // ask the DriverManager for a connection to the database
    34.          Connection conn = null;
    35.          try {
    36.               conn = DriverManager.getConnection("jdbc:mysql://" + hostname +
    37.                                                                      ":"+ port +"/" + database +
    38.                                                                      "?user=" + username +
    39.                                                                      "&password=" + password );
    40.          } catch (Exception e) {
    41.               e.printStackTrace();
    42.          }
    43.          return conn;
    44.     }
    45.     
    46.     public static void main( String[] args ) {
    47.          new JDBCDemoCreate();
    48.     }
    49.}

    Hi!
    You can try with this code coz, i worked with this code only and then i can talk to the database.
    Connection con;
    Class.forName("org.gjt.mm.mysql.Driver";
    con = DriverManager.getConnection("jdbc:mysql:///db?user=root&password=");
    Try it out!
    Queries regarding this is welcome. Either in this forum itself or u can contact in the mail, the id is
    [email protected]
    Regards,
    dinesh

  • CS3 MySQL Connection

    I can't find any information about the solution for the
    following error message -
    "The files from the _mmServerScripts folder are for the
    server model PHP-MySQL. You try to connect to a database using a
    different server model. Please remove this folder outside of the
    Dreamweaver environment on both local and testing machines and try
    again"
    I have tried removing the _mmServerScripts folder and this
    did not correct the problem. Thanks for any help!

    Spesh2 wrote:
    > "The files from the _mmServerScripts folder are for the
    server model
    > PHP-MySQL. You try to connect to a database using a
    different server model.
    > Please remove this folder outside of the Dreamweaver
    environment on both local
    > and testing machines and try again"
    The error message seems pretty clear. It says that you're
    trying to
    connect to MySQL with PHP scripts, but that your site uses a
    different
    server model, such as ASP or ColdFusion.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • MySQL connectivity problem: no validation table provided

    hi there,
    As a superbeginner, on my Mac G4 OSX 10.4 I am trying to add a MySQL database in Sun JSC 2.1, following the tutorial:
    Creating Database Server Types and Data Sources
    So far I have managed to
    -install mysql 3.1.14 and
    -add this as a new database server
    When I try to add a data source, I cannot select a validation table (message: No Tables were found. Check your connection information), and I cannot find in the manuals how to make one. When I test the connection the connection status is succeeded, but the validation table status is failed (No validation table provided...)
    In a seccond attempt, I also installed MySQL 4.1.21 and navicat (in which the connection seems to be good), but I cannot figure out how to connect this version 4.1.21 to the JSC, because 4.1.21 differs in installation (it uses an installation package in stead of a zipped folder) which is not covered by the tutorial.
    Any hints on one of the two attempts, or a suggestion for a database which might give a beginner like me less problems to connect? Thanks a lot.
    [email protected]

    I think the simplest way is:
    create a table:if you have mysql 5.x you can di it with mysql tools (mysql administrator or mysql query browser), if you have a non graphical version of mysql you have to create the table with prompt.
    Create table Paziente (
         codice_fiscale_paziente Char(20) NOT NULL,
         nome Char(20),
         cognome Char(20))
         ENGINE = MyISAM;
    than open JSC (it doesn't have a jdbc driver installed to work with mysql, you have to download from mysql website and install in jsc)
    servers--> right click -->add data source
    than :
    data source name : the name you want to use
    server type: mysql
    database name : your's database name
    if you have user autentication in your db, set user and password
    set the correct db url
    and... test connection
    it should work

  • Connection problem local files on NAS

    My local files in DW CS5 are stored on a Qnap NAS,
    when I want to upload the files to the remote site,
    most of the time it works, but I got a lot connection time-outs......
    Background activity
    Waiting for server........
    my computer setup,
    Qnap 239 pro, Draytek router, Imac, CS5 Dreamweaver
    Any sugestion? thanks

    The problem isn't with your NAS, it is in fact Dreamweaver. This has been a consistent issue since CS3 and Adobe has failed to really address it, unfortunately.
    In the Dreamweaver dialog for managing your site (and depending on which version of CS you're using) there will be the following options for the FTP server connection:
    Use Passive FTP - usually checked if you're behind a firewall/router - and this is usually the main culprit of this 'waiting for server' issue, I've found.
    Use IPV6 Transfer Mode - this uses IPv6 connections and lookups and does little to actually improve performance in IPv4 networks, usually checked for the performance gains in true IPv6 connections (still rare as of this writing).
    Use Proxy - as defined for your browser preferences, typically. Only checked if you're using a proxy. If you don't know what a proxy is, you're unlikely to be using one, but you can check your browsers proxy settings to see if it has any enabled by your ISP and check this box if it does.
    Use FTP Performance Optimization - this basically turns on NOOPs - allowing DW to send NOOP commands to your FTP server to maintain the connection. Usually checked unless you cannot connect to your server with it checked (some servers do not support keep-alive's)
    Use Alternative FTP Move Method - Frankly, I have no idea what this does as I've never had to use it. I do know it does not solve the 'waiting for server' issue, however, through trial and error.
    And yes, Filezilla is so supremely good at FTP it makes DW look slow even when it's working correctly.
    This is definitely a strategy I hope Adobe adopts - removing all the clutter from the FTP algorithms in Dreamweaver. All we need is simply FTP typically. I understand it's tied into RDS and everything else - but I hope Adobe unties it so FTP, which is still the most widely used protocol for updating remote server files from Dreamweaver, no longer has these unneccesary delays.
    Hope that helps. Try passive FTP first - like I said, 9 times out of 10 - that's the problem (I could go into the details of why this occurs and why one solution is to set-up port forwarding on your router, but I won't )

  • Connecting 2 local Mac's - .mac authentication question

    I have a Macbook Pro and an iMac, both running 10.5.4.
    I used to be able to connect between them both in finder, and using Screen Sharing, and it would automatically authenticate using my .mac account.
    Now it works one way (from the MBP to the iMac.) But from the iMac, when I try to connect, it defaults to "guest" and I have to put in my MBP's local username/pass to get it working.
    How do I get it to start authenticating using my .mac info again?
    I've bounced the .mac connection in system prefs, but no go.

    I believe I am having a similar issue.
    I have an iMac running 10.5.4 that I just bought, but the user information for the .Mac account I am trying to access was transfered over from a machine that was running 10.4.
    My wife's Macbook Air (with the same .Mac account) see's the iMac being shared but when I try to connect to it or screen share with it I am prompted to enter your name and password.
    I get the following message:
    Authentication failed to "iMac"
    Please verify you have entered the correct name and password.
    I have set screen sharing in sys prefs for admin and for both user accounts.
    Any suggestions?

  • JDBC/MYSQL Connection problems

    I'm new to using JDBC so I'm not sure if I'm simply doing something wrong in my code or if I've installed something incorrectly. I've got the JDBC connector/J installed properly as far as I can tell. At least when I run my code I'm not getting an error about the driver not being found. The problem I'm running into is that even though I've double and triple checked the authentication info I keep getting the following error:
    Exception in thread "main" java.sql.SQLException: Invalid authorization specification message from server: "Access denied for user: '[email protected]' (Using password: YES)"
    The actual connection commands I'm using are as follows:
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    Connection con = DriverManager.getConnection("jdbc:mysql://localhost/Test", "testusr", "testpwd");
    I've checked and rechecked the spelling of my mySQL user & password and as far as I can tell, they work just fine so I can't figure out why I would be getting this error. Any suggestions on things I can try or does anyone see any obvious errors in what I'm doing?

    The failure is caused not by the JDBC driver but by how the MySQL was configured
    when it was installed. By default, MySQL is configured to allow connections that
    are created only from within the localhost.
    The line
    DriverManager.getConnection("jdbc:mysql://localhost:3306/Test?user=testusr& password=testpwd") translates to "create a connection to MySQL running at 'localhost' and use the
    'testusr@<hostname.domain>' as user name and 'testpwd' as the password".
    If you can see, the <hostname.domain> is replaced with "other value" aside from
    the "localhost" which you expect, hence connection is denied.
    The '<hostname.domain>' is replaced with the value of either your IP address or
    hostname. Therefore, any connections created from outside the host where your
    server is running will be denied. Now, making the 'host' value set from
    'localhost' to '%' would tell MySQL that you are allowing connections created from
    outside the MySQL host to connect to the server.
    Another way to go around this is problem is to modify your
    "\Windows\system32\drivers\etc\hosts" OR "/etc/hosts" file and give
    your loopback address (127.0.0.1) another alias (aside from localhost), e.g.:
    127.0.0.1    localhost    <hostnameY.domain>
    192.168.1.1  <hostnameX.domain>  <hostnameY.domain>where you replace <hostnameY.domain> with the name/alias of your computer in
    the network. The domain is optional and depends upon the domain name that
    your network is using.

  • MySQL Connectivity problem

    Hi all,
    I am new to JSP. I am using Eclipse 3.2. with all lpugins. The following code throws an error. Pleas help me.
    <html><body>
    <%@ page import="java.sql.*, java.lang.ClassNotFoundException"%>
    <%
         String connectionURL = "jdbc:mysql://localhost:3306/online_hotel_booking";
         String userName = "root";
         String password = "root";
         // Load the driver class and establish a connection
         try {
              Class.forName("com.mysql.jdbc.Driver").newInstance();
              Connection con = DriverManager.getConnection(connectionURL,userName,password);
              Statement stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery("select * from hotel_details");
              while (rs.next()) {
                   out.println(rs.getString(1));
                   out.println(rs.getDate(2));
              /* closing the connection */
              rs.close();
              stmt.close();
              con.close();
         catch (Exception e) {
              out.println("Exception!"+e);
    %>
    </body></html>It throws ClassNot FoundException: com.mysql.jdbc.Driver
    Thanks in advance

    JDBC questions should be posted in the JDBC forum: http://forum.java.sun.com/forum.jspa?forumID=48
    If you take the time to look the active topic listing of the JDBC forum, you'll see that you're not the only one who encountered the problem. Yesterday I answered similar topic on this issue.

  • JSP Mysql Connection Problem

    Hi Friend,
    I am facing some problem in connecting mysql with jsp .
    When I try and connect to mysql with the following connection string
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/testdhiraj?user=root&password=dh");
    Statement statement     = con.createStatement();
    I get an error :
    java.sql.SQLException: Communication link failure: Bad handshake
    I don't know what is wrong,
    as I had tested mysql using telnet and it connects and executes sql nicely.
    Waiting for ur reply,
    Dhiraj Agrawal
    mail to : [email protected]

    Hi,
    You need to make sure that , you have given correct database name, user id and password in the connection url. and also check the jdbc driver is loaded properly. If your mysql is running in the standard port, you need not give the port as 3306.
    Here is the example :
    import java.sql.*;
         Notice, do not import org.gjt.mm.mysql.*
    or you will have problems!
    public class XampleClass
    public static void main(String[] Args)
    try {      
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    catch (Exception e) {
    System.err.println("exception while loading
    driver.");
    e.printStackTrace();
    try {
    Connection C = DriverManager.getConnection(
    "jdbc:mysql://localhost/test?user=myuser&password=mypwddb");
    // Do something with the Connection
    catch (SQLException e) {
    System.out.println("Exception: " + e);
    This is the format for conenction url :
    jdbc:mysql://[hostname][:port]/dbname[?param1=value1][&param2=value2]...
    Hope this helps you.
    Thanks,
    Senthil_Slash

  • DW CS4 MySQL Connection Problem

    I know this one has been covered before but i've been trawling through posts for the past 2 days and still haven't solved my problem.
    I remember from using MX Studio and Ultradev that setting up a connection could prove challenging. It seems that CS4 is just as user-unfriendly in this regard. I know that the settings i'm using for the connection must be correct as i'm using them to successfully connect to the database and display its records using a hand-coded page. I've tried disabling Kaspersky and Windows Firewall but to no avail. I noticed one difference between the php script that dw attempted to make and mine is that i'm using mysqli whereas the dw version just refers to mysql. When I click on the Select button to try and select the database i just get  "An unidentified error has occurred" - about as much use as a chocolate fireguard - well done to the dw development team for that pearl of wisdom. Is dw trying to find my databse somewhere where it's not located? I noticed that C:/InetPub and its subfolders are marked "read only" but when you uncheck this, it reverts to read only - i don't know if this may have something to do with my inability to set up a connection. I managed to manually set up MySQL, PHP and Apache without problems but this has got me beat. Is it bad design in dw or am i just stupid? Don't answer that! Any help would be greatly appreciated as i know there's a lot of good stuff in dw if i could only make a connection (and i'm on a 30 day trial with this) Why should something that looks so easy be so difficult! Thanks, Mark

    Hi PZ,
             You're correct! I just managed to get my connection to work. I looked in my php.ini file and it only had extension=php_mysqli.dll at the bottom of the page (the dll file to which this refers was in the ext folder). So, I just added extension=php_mysql.dll to the end of the php.ini file then downloaded the PHP 5.2.13 zip package from http://www.php.net/downloads.php and then copied the file php_mysql.dll into the ext folder. I got the clue about mysqli not being supported after i'd carried out a Site > Advanced > Remove Connection scripts - that at least gave me a message "Your PHP Server doesn't have the MySQL module loaded or you cant use the mysql(p) connect functions" - before i did this i just got a useless "An unidentified error has occurred" which left me no further forward. Thanks for your help!

  • JDBC MYSQL Connection Problem

    Hi guys I have created a database called books in MySQL and I have the following code to test the link of connection. I am using Netbeans.
    import java.sql.*;
    public class jdbcexample1 {
    /** Creates a new instance of jdbcexample1 */
    public jdbcexample1() {
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    Connection con = null;
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    con = DriverManager.getConnection("jdbc:mysql:///books", "jhtp6", "jhtp6");
    if(!con.isClosed())
    System.out.println("Successfully connected to MySQL server...");
    } catch(Exception e) {
    System.err.println("Exception: " + e.getMessage());
    } finally {
    try {
    if(con != null)
    con.close();
    } catch(SQLException e) {}
    However my program when run gives me the exception message which is
    "Exception: com.mysql.jdbc.Driver"
    Before you tell me, I have put the "mysql-connector-java-3.0.14-production-bin" in the ext folder of jre and I have also appended the CLASSPATH as follows.
    ".;C:\PATH\mysql-connector-java-3.0.14-production-bin.jar;" which leads to the jre ext folder.
    What am I doing wrong, Have I missed something above and if not what could be wrong with my setup.
    Thanks!! :)

    Helo,
    I have just started with java, I am also using netbeans, I used similar code to test the link, the code gives the following error when compiled:
    java.lang.NoClassDefFoundError: JdbcExample1
    Exception in thread "main"
    Java Result: 1
    The code I used is a s follows:
    package com.stardeveloper.example;
    import java.sql.*;
    public class JdbcExample1 {
    public static void main(String args[]) {
    Connection con = null;
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    con = DriverManager.getConnection("jdbc:mysql:///pet", "root", "siemens");
    if(!con.isClosed())
    System.out.println("Successfully connected to MySQL server...");
    } catch(Exception e) {
    System.err.println("Exception: " + e.getMessage());
    } finally {
    try {
    if(con != null)
    con.close();
    } catch(SQLException e) {}
    Pls help..
    Thanks..
    Hi guys I have created a database called books in
    MySQL and I have the following code to test the link
    of connection. I am using Netbeans.
    import java.sql.*;
    public class jdbcexample1 {
    /** Creates a new instance of jdbcexample1 */
    public jdbcexample1() {
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    Connection con = null;
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    con =
    DriverManager.getConnection("jdbc:mysql:///books",
    "jhtp6", "jhtp6");
    if(!con.isClosed())
    System.out.println("Successfully connected to MySQL
    server...");
    } catch(Exception e) {
    System.err.println("Exception: " + e.getMessage());
    } finally {
    try {
    if(con != null)
    con.close();
    } catch(SQLException e) {}
    However my program when run gives me the exception
    message which is
    "Exception: com.mysql.jdbc.Driver"
    Before you tell me, I have put the
    "mysql-connector-java-3.0.14-production-bin" in the
    ext folder of jre and I have also appended the
    CLASSPATH as follows.
    ".;C:\PATH\mysql-connector-java-3.0.14-production-bin.
    jar;" which leads to the jre ext folder.
    What am I doing wrong, Have I missed something above
    and if not what could be wrong with my setup.
    Thanks!! :)

Maybe you are looking for

  • Why are apps appearing in my music folder?

    Just wondering if I can delete these ".IPA" (iOS App) files and .XML files that have appeared in my Music folder. I'm on a PC, so the files are assigned to iTunes, but I still don't know why they're here. I think they appeared after I synced my iPod

  • Box-to-Box redundancy question ?

    guys, i have two CSS 11506 configured as Box-to-Box Master/Backup mode. im trying to apply the commit_redundancy "argument" command from the Master CSS the configuration has been sent to the Backuo EXCEPT the commands related to ssl certiface that th

  • 8.0.1 has broken Content Link in Piano Roll Editor

    Logic 8.0.1 has managed to break Content Link in Piano Roll Editor... Select a MIDI region in Arrange, choose a Screenset for Piano Roll and, with Link active, you'll see the contents for the selected MIDI region. From that point on though, you'll on

  • CRM Quotation: Attachment with template: only first item shown

    Hi all, I created a webservice with WS_DESIGN_TOOL to fill a WORD template with the data of a quotation. The header data looks fine, but from item data only the first item is shown. by debugging the generated FM I saw, the there are entries in data_t

  • How can i get my Blackberry Internet Connection

    Hi, I need help setting up my Blackberry 9850 to access the internet. I recently bought my phone via ebay and installed a new OS for my service provider in Kenya. The phone was locked to Verizon wireless service and upon unlocking it i still have no