MySql Connection window-----says MySql Error#1045

I have made a db on my server (hostgator) and I have connected to the db through phpmyadmin. I am trying to connect to MySql through dreamweaver so I can make the index.php file and create some forms and tables so I can link my php file to my db. I can make a connection with the host as I have already uploaded some files there. When I go to the databases section in the control panel and I go to add new connection I have tried everything to get it too connect. I get an error of MySql Error#1045 Acess denied for user 'XXX@localhost' (using password "YES") Please help hours have gone by:(

Well I know this is probably NOT going to help but here is what I've learned so far:
1. It happens with most all the sites using cPanel as control panel.
2. Some thimes this is caused cause in the cPanel, right next to PhP MyAdmin there is a box called remote mysql, you need to be sure that your ip addy is there so you can connect remotely.
3. if you can connect through the mysql gui, then you are free to connect trhough DW... However sometime (most of the times lately) that wont work...
try what i said and i'll keep on checking why this is happening... btw i've asked suppont on four differente hositngs, and cpanel itself.
Vampmaster.

Similar Messages

  • MySQL Connection - Select Database - HTTP Error Code 405 Method Not Allowed?

    We've set up a MySQL database with our host and can connect to that, and create, edit, delete tables using HeidiSQL, without a problem.
    However when we attempt to set up the connection in the Databases tab of our Applications panel in Dreamweaver we receive the following error:
    HTTP Error Code 405 Method Not Allowed
    We have entered the following in the MySQL Connection box:
    Name: <name of our connection>
    Server: <IP address of our database>
    Username: <our database username>
    Password: <our database password>
    Database:
    When we click the "Select" option next to the Database field, that's when we receive the above mentioned error.
    We noticed that there was a fix posted by Adobe at:
    http://www.macromedia.com/support/dreamweaver/ts/documents/err405.htm
    ...but that link is long since dead, however it does seem to indicate that Adobe are/were aware of this issue.
    Can anyone help?  We're trying to move from Classic ASP / MSSQL to PHP / MySQL but have hit a barrier right from the off, which isn't very encouraging.  Hope someone can ease our concerns with PHP and MySQL.
    Much appreciated.
    NJ

    Thank you SnakEyez02.
    I had the Testing Server set to Local/Network but didn't have MySQL installed locally.  Changed that setting to FTP and it picked up on the database correctly.
    When using MSSQL it doesn't matter whether you choose Local/Network or FTP it just picks up the online database regardless.  I guess this must just be a difference between it and MySQL.
    Thanks for the advice.  Much appreciated.
    NJ

  • VPN Connection Windows 8,1 Error

    Hello,
    I 'm trying to connect using VPN connection, but always return an error: "A request to
    send or receive data was disallowed because the socket is not connected and on a (when sending on a datagram socket using a send to call) no address was supplied"
    All my colleagues are able to connect less myself, we already sow all the configurations and seams there
    all the same, and obviously we are missing something.
    I have the windows 8.1
    Thanks

    Elsa Susana,
    Normally you’ll see the error when an incorrect network address or port is specified. 
    If you haven’t already, try pinging the remote host.  If it doesn’t respond, verify your connection information again to make sure you have the correct network address and network port entered. 
    Another possible cause is that you have the remote host blocked by your firewall or other security software, so make sure you check those as well. 
    More information on your error can also be found on
    this MSDN page.
    Hope this helps!
    Mike
    Windows Outreach Team – IT Pro

  • Jar file and remote mysql connect

    I have a jar file that i want anyone run it.The problem is that the code makes a connection to a database (mysql) to my computer.How anyone can connect to my databse in my computer from another pc without the user have to had the java \ mysql connect or hte mysql.Only the java.I try with a jnlp file and the jar file stored in my computer.I have a host name and i have open the port 3306 for mysql and allow remote connections to mysql.Can you help me;;

    ok i connect to database like this:
    try {
                   String userName = "username";
                   String password = "password";
                   String url = "jdbc:mysql://HOSTNAME/bankloans";
                   Class.forName("com.mysql.jdbc.Driver").newInstance();
                   conn = DriverManager.getConnection(url, userName, password);
              } catch (Exception e) {
                   System.out.prinln(e);
              }The JNPL file
    <?xml version="1.0" encoding="Windows-1251"?>
    <jnlp
      spec="1.0+"
      codebase="http://nasikas.ath.cx:8080/bankloans/"
      href="BankLoans.jnlp">
    <information>
    <title>Bank Loans Programme</title>
    <vendor>Softlets</vendor>
    <description>Bank Loans Programme</description>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.6+"/>
    <jar href="BankLoans.jar" main="true"/>
    <jar href="mysql-connector-java-5.1.0-bin.jar"/>
    </resources>
    <application-desc main-class="Go"/>
    </jnlp>What is wrong;;

  • Unidentified Error when connecting DW with MySql

    Hi
    I am trying to connect to Mysql Database which is hosted by a hosting company on their server.  I have been given a static IP address and port to access this database remotely. I have add the information below to DW 8 in an attempt to gain access the info is below.  I get an unidentified error when i test the connection i don't know where to put this static IP and port.  Can someone help thanks
    DW information is as follows:
    My login is
    username buildingbids
    password ********
    I am trying to connect from dreamweaver
    Details of that are below
    Local Info
    Sitename buildingbids
    Local root folder C:\Documents and Settings\Main User\My Documents\WEB SITES\buildingbids\
    HTTP address http://www.buildingbids.ie
    Remote Info
    Access FTP
    FTPhost ftp1.reg365.net
    Host Directory web
    Login buildingbids.ie
    Password ******
    This works when i test it
    Testing Server
    Server Model PHP MySQL
    Access FTP
    FTPhost ftp1.reg365.net
    Host Directory web
    Login buildingbids.ie
    Password kevinmac
    This works when i test it
    URL Prefix http://ftp1.reg365.net/
    When i go to test the connection i get a message saying an unidentified error has occured.
    My connbuildingbids code is
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_connbuildingbids = "ftp1.reg365.net";
    $database_connbuildingbids = "buildingbids";
    $username_connbuildingbids = "buildingbids";
    $password_connbuildingbids = "kevinmac";
    $connbuildingbids = mysql_pconnect($hostname_connbuildingbids, $username_connbuildingbids, $password_connbuildingbids) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    My connection criteria is
    Connection name connbuildingbids
    MySql Server mysql1.mylogin.ie
    Username buildingbids
    Password *********
    Database buildingbids

    Yes they only allow it with a static IP address which i have and have been granted Remote access
    I have gone to a different server and now my code is like this
    My connbuildingbids code is
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_connbuildingbids = "bono.hostireland.com";
    $database_connbuildingbids = "buildingbids";
    $username_connbuildingbids = "buildingbids";
    $password_connbuildingbids = "*********";
    $connbuildingbids = mysql_pconnect($hostname_connbuildingbids, $username_connbuildingbids, $password_connbuildingbids) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    My connection criteris is
    Connection name     connbuildingbids
    MySql Server          bono.hostireland.com
    Username               buildingbids
    Password               *************
    Database               buildingbids
    I get a different error now it says
    Mysql error #:1045  access denied for Buildingbids@localhost (Password:Yes) 
    so it looks like its looking locally for the database by default and i cant stop it.  I did orriginally have MySql set up on my pc and had done some test databases but i have deleted everything now even MySql but i still get this error so i am missing something.  Does anyone know why or how can i stop it defaulting locally. Thanks

  • MySQL Error#: 1045 Not Explained

    I have had this error, and found a zillion posts on the web
    asking for a solution, and never found a solution. But I've kind of
    figured out what's going on and I'd like to know exactly how and
    why it does what it does.
    I have a Linux box lemon running MySQL, and a Windows XP
    client orange. From orange I can connect using mysql command line
    client (mysql -u root -p -h lemon mydatabase). I can also connect
    using ODBC (by creating an ODBC connection in Control Panel and
    testing the connection).
    When I try to connect to lemon/root/password in Dreamweaver
    CS3 by creating a MySQL Connection it fails with...
    MySQL Error#: 1045
    Access denied for user root@lemon (using password:YES)
    (This is what a ton of posts complain about with lame
    responses like - you got the password wrong).
    So what I discover is that in Dreamweaver I have to set up
    the connection using localhost instead of lemon. (NOTE: Dreamweaver
    is running on orange - not lemon, where the MySQL server is
    running!)
    So I wonder - what the!!! The database is not on localhost.
    So I fiddle a bit and find that if I go into Manage Sites and
    change the name of the FTP host under Testing Server that the
    connection to localhost breaks - so somehow the MySQL connection is
    being made using the FTP host.
    How is Dreamweaver making a MySQL connection using lemon as
    the FTP server and localhost (orange) as the MySQL server, when it
    is lemon that is the MySQL server???

    .oO(nevdelap)
    >I have had this error, and found a zillion posts on the
    web asking for a
    >solution, and never found a solution. But I've kind of
    figured out what's going
    >on and I'd like to know exactly how and why it does what
    it does.
    >
    > I have a Linux box lemon running MySQL, and a Windows XP
    client orange. From
    >orange I can connect using mysql command line client
    (mysql -u root -p -h lemon
    >mydatabase). I can also connect using ODBC (by creating
    an ODBC connection in
    >Control Panel and testing the connection).
    You know that working on a DB as root is a bad idea? You
    should create a
    normal account for the daily work and login as root only for
    maintenance
    or configuration stuff.
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16575#userAccount
    > When I try to connect to lemon/root/password in
    Dreamweaver CS3 by creating a
    >MySQL Connection it fails with...
    >
    > MySQL Error#: 1045
    > Access denied for user root@lemon (using password:YES)
    >
    > (This is what a ton of posts complain about with lame
    responses like - you got
    >the password wrong).
    >
    > So what I discover is that in Dreamweaver I have to set
    up the connection
    >using localhost instead of lemon. (NOTE: Dreamweaver is
    running on orange - not
    >lemon, where the MySQL server is running!)
    >
    > So I wonder - what the!!! The database is not on
    localhost.
    Every machine is a localhost from its own point of view.
    Since the DB
    and probably your scripts both run on lemon, from their point
    of view
    that machine is the localhost and PHP has to open a
    connection to
    'localhost' in order to connect to the DB. This is the most
    common setup
    if PHP and MySQL run on the same machine.
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16575#dbconn
    But one thing confuses me. You said you can connect from your
    Windows
    box, using the command line:
    mysql -uroot -p -hlemon mydatabase
    Does the same command also work if invoked directly on the
    Linux box or
    does it cause an "Access denied"?
    > So I fiddle a bit and find that if I go into Manage
    Sites and change the name
    >of the FTP host under Testing Server that the connection
    to localhost breaks -
    >so somehow the MySQL connection is being made using the
    FTP host.
    >
    > How is Dreamweaver making a MySQL connection using lemon
    as the FTP server and
    >localhost (orange) as the MySQL server, when it is lemon
    that is the MySQL
    >server???
    FTP is used to transfer the scripts to the server.
    Micha

  • MySQL connection error

    Dear Fellow Java Developers:
    I am a junior java developer and I sincerely apologize for my ignorance. I have searched the archives of this forum for advice and information, and for some reason I am not able to get the results I desire.
    I have the following line in my classpath:
    C:\mysql\java\mysql-connector-java-2.0.14-bin.jar;.
    now when I run the following program which I got of the following url:
    http://www.javacoding.net/articles/technical/java-mysql.html?page=1#contentAnchor
    /* import needed for JDBC access */
    import java.sql.*;
    * MySQL Demo Program
    * this program is just a little demonstration of the usage
    * of MySQL in combination with Java JDBC
    * http://www.javacoding.net
    public class TestMySQL {
    public void test ( String host, String database ) throws Exception {
    /* first, we'll test whether the MySQL driver is installed */
    testDriver ( );
    /* then, we'll get a connection to the database */
    Connection con = getConnection ( host, database );
    /* we create a table */
    executeUpdate ( con, "create table test (id int not null,text varchar(20))" );
    /* we insert some data */
    executeUpdate(con,"insert into test (id,text) values (1,'first entry')");
    executeUpdate(con,"insert into test (id,text) values (2,'second entry')");
    executeUpdate(con,"insert into test (id,text) values (3,'third entry')");
    /* then we'll fetch this data */
    executeQuery ( con, "select * from test" );
    /* and we'll destroy the table ... */
    executeUpdate ( con, "drop table test" );
    /* finally, we close the database */
    con.close ( );
    * Checks whether the MySQL JDBC Driver is installed
    protected void testDriver ( ) throws Exception {
    try {
    Class.forName ( "org.gjt.mm.mysql.Driver" );
    System.out.println ( "MySQL Driver Found" );
    } catch ( java.lang.ClassNotFoundException e ) {
    System.out.println("MySQL JDBC Driver not found ... ");
    throw ( e );
    * Returns a connection to the MySQL database
    protected Connection getConnection ( String host, String database )
    throws Exception {
    String url = "";
    try {
    url = "jdbc:mysql://" + host + "/" + database;
    Connection con = DriverManager.getConnection(url);
    System.out.println("Connection established to " + url + "...");
    return con;
    } catch ( java.sql.SQLException e ) {
    System.out.println("Connection couldn't be established to " + url);
    throw ( e );
    * This method executes an update statement
    * @param con database connection
    * @param sqlStatement SQL DDL or DML statement to execute
    protected void executeUpdate ( Connection con, String sqlStatement )
    throws Exception { 
    try {
    Statement s = con.createStatement ( );
    s.execute ( sqlStatement );
    s.close ( );
    } catch ( SQLException e ) {
    System.out.println ( "Error executing sql statement" );
    throw ( e );
    * This method executes a select statement and displays the result
    * @param con database connection
    * @param sqlStatement SQL SELECT statement to execute
    protected void executeQuery( Connection con, String sqlStatement )
    throws Exception { 
    try {
    Statement s = con.createStatement ( );
    ResultSet rs = s.executeQuery( sqlStatement );
    while ( rs.next ( ) ) {
    String id = ( rs.getObject ("id").toString() );
    String text = ( rs.getObject ("text").toString() );
    System.out.println ( "found record : " + id + " " + text );
    rs.close ( );
    } catch ( SQLException e ) {
    System.out.println ( "Error executing sql statement" );
    throw ( e );
    * This one is used to start the program.
    public static void main ( String args[] ) throws Exception {
    if ( args.length == 2 ) {
    new TestMySQL ( ).test ( args[0], args[1] );
    } else {
    System.out.println ( "usage: java TestMySQL host database" );
    when I compile and run the program, I still get a java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    I get the same error when I use the following driver as well
    org.gjt.mm.mysql.Driver
    Does my java program have to be in a certain directory in relation to the mysql directory? All I did at the msql> prompt was to create a database called jtest and typed in
    C:\java TestMySQL localhost jtest
    in order to run the above program.
    Am I overlooking something? Have I forgotten to do something? I am currently using jdk1.3 instead of jdk1.4, is that the problem?? If it is, how do I correct the problem without switching to jdk1.4??
    Any and all help is appreciated, and I sincerely thank all developers who read this post.
    Take care.
    Sincerely;
    Fayyaz

    syedfa,
    I don't know if you have already figured out the problem that you were experiencing, but I was having this same problem, and I finally got it figured out. I was having difficulty on how exactly to set the classpath. I am using Windows XP, and I have seen and tried a lot of different variations. From the command prompt in the directory where the file was saved I finally got your program to compile using:
    java -classpath C:\mysql\mysql-connector-java-2.0.
    14\mysql-connector-java-2.0.14-bin.jar; TestMySQL localhost test
    Of course it would be much easier if the environment variable for this was set so you don't have to type it in everytime at the command prompt, and I finally got that one figured out to. If you are using Windows XP then you can:
    Right click on My Computer and go to Properties.
    Click on Advanced.
    Click on Environment Variables.
    Under System Variables, click on New.
    For the Variable name type: CLASSPATH
    For the Variable Value type: .;C:\mysql\mysql-connector-java-2.0.14\mysql-connector-java-2.0.14-bin.jar
    In the above variable value, the ".;" before C: isn't a typo. The path that I put in is the path to the MySQL JDBC driver on my computer so it may vary on your computer.
    I think this will also work with Windows 2000.
    I hope this helps if you still need it, maybe it will also help somebody else with the same problem.

  • PHP MySQL connect error

    OK
    I get the following error when running my php pages on our
    new web server (Windows Server 2003):
    Fatal error: Call to undefined function mysql_pconnect() in
    c:\Inetpub\wwwroot\jionas_website\Connections\jonas_website.php
    on line 9
    When I open the file jonas_website.php it indicates the
    filename Connection_php_mysql.htm. It is on my local machine in the
    programs folder but not on the web server. Should it be?
    If I run a phpinfo page it runs fine...actually any php
    commands seems to work.
    I also get that "unidentified error" when I try to connect to
    MYSQL through Dreamweaver MX 2004. I have followed all the
    suggestions in the technote for this error. I still get it.
    I can connect to the MYSQL server through MYSQLadministrator
    so I am not sure what is going on.
    Please help.
    Darren

    Hung Kuen Kung Fu wrote:
    > MYSQL is not listed under the phpinfo page. MMM. Not
    sure how to enable this in the php.ini so i will have to look.
    Remove the semicolon from the beginning of these lines in the
    Windows
    extensions section:
    ;extension=php_mbstring.dll
    ;extension=php_mysql.dll
    Also add this line after them:
    extension=php_mysqli.dll
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Getting an error in JDBC mySQL Connection

    Hi,
    I am creating JDBC mySQL Connection error.
    The eror messsage is
    Incorrect name parameter jdbc:mysql://10.114.16.70:3306/kaushikb root,pass in naming operation.where root is the username and pass is the password and kaushikb is the database name.
    I am entering the tablename as: emptable.
    Regards
    Taton
    Edited by: Taton on Dec 11, 2008 3:15 PM

    Let me guess: you did
    getConnection("jdbc:mysql://10.114.16.70:3306/kaushikb root,pass");rather than
    getConnection("jdbc:mysql://10.114.16.70:3306/kaushikb", "root", "pass");

  • Connectivity with MySQL in Windows

    How can I connect JSP with MySQL in Windows?
              I Tried out the following code but It did not work
              Class.forName("org.gjt.mm.mysql.Driver");
              Connection cn = DriverManager.getConnection("jdbc:mysql:///test");
              

    I think you missed the IP address for your MySQL server machine.
              If it's on the same computer, try this:
              jdbc:mysql://localhost/test
              "John Jacob" <[email protected]> wrote in message
              news:[email protected]..
              > How can I connect JSP with MySQL in Windows?
              > I Tried out the following code but It did not work
              >
              > Class.forName("org.gjt.mm.mysql.Driver");
              > Connection cn = DriverManager.getConnection("jdbc:mysql:///test");
              

  • Error using mySQL connection Pool

    I see the following error when my application uses the connection pool - can anyone explain this ?
    INFO: CORE3282: stdout: =======================>ERROR :com.sun.enterprise.repository.J2EEResourceException
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    INFO: CORE3282: stdout: java.lang.NoSuchMethodException: setdataSourceName

    Hi,
    You have used dataSourceName property while creating a connection pool.This property is not required to be set while creating a connection pool for MySql
    Use the following properties:
    <property name="serverName" value="<name of server>"
    <property name="port" value="<port number>"
    <property name="DatabaseName" value="<your db name>"
    <property name="User" value="<user name>"
    <property name="Password" value="<passwd>"
    Get back in case of any issues

  • Error 1045 mysql new installation on OSX 10.9.3

    after new mysql-5.7.4-m14-osx10.7-x86_64 installation,
    I typed "/usr/local/mysql/bin/mysql" I got "ERROR 1045 (28000): Access denied for user 'username'@'localhost' (using password: NO)"
    I type "ps auxww | grep mysql", I got"
    _mysql            224   0.0  6.6  3188416 552216   ??  S     7:58pm   0:01.50 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/data/Dongs-MacBook-Pro.local.err --pid-file=/usr/local/mysql/data/Dongs-MacBook-Pro.local.pid --socket=/var/mysql/mysql.sock --port=8888
    root               65   0.0  0.0  2461016   1064   ??  Ss    7:58pm   0:00.04 /bin/sh /usr/local/mysql/bin/mysqld_safe --user=mysql
    dongzhong         594   0.0  0.0  2432784    604 s000  S+    8:56pm   0:00.00 grep mysql"
    I type "sudo nano /Library/LaunchDaemons/com.mysql.mysql.plist", I got
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-$
    <plist version="1.0">
      <dict>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.mysql.mysqld</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/local/mysql/bin/mysqld_safe</string>
        <string>--user=mysql</string>
        </array>
      </dict>
    </plist>
    I also have turned on my internet sharing but still access denial. Please help me

    Take a look at this article. 
    http://www.howtoforge.com/reset-forgotten-mysql-root-password
    I tried this with mysql 5.7.4 (Milestone 14) and OS X 10.10 (Yosemite) and it works.  It should work on 10.9 too (though I haven't tried it on Mavericks).
    5.7.4 installs with a randomly generated password for mysql root.  On Linux RPM installs, this initial password is stored in /etc/mysql/.mysqlsecret - which you are supposed to use for the initial login.  Couldn't find it's equivalent anywhere on OS X.  Will file a bug report with MySQL.

  • MySQL Error 2002 when attempting to make a MySQL Connection

    I'm trying to make a MySQL Connection and I've got my Staging/Testing Server setup as FTP with the proper host, username and password for FTP, root directory set to '/' (without the quotation marks) and Web URL set to http://www.mysite.com/
    Tested the FTP and it connects.
    For mySQL connection in my bindings, I'm using:
    Connection Name; connRecords
    MySQL Server: localhost
    Username and then my Password for my DB which obviously I won't list here.
    I click Select Database and that's when I get the prompt:
    MySQL Error: #2002
    Can't connect to local MySQL Server through socket '/tmp/mysql.sock' (2)
    What does that mean and how do I get this to work?

    ladobeugm wrote:
    I click Select Database and that's when I get the prompt:
    MySQL Error: #2002
    Can't connect to local MySQL Server through socket '/tmp/mysql.sock' (2)
    What does that mean and how do I get this to work?
    On a Mac, connection to MySQL is done through a socket (mysql.sock). The fact that there's a (2) after mysql.sock indicates there's something wrong with the socket. Usually, you can clear the problem by powering down your computer and then restarting. Don't just do a restart. Make sure the computer switches off completely to clear the socket.

  • MySQL problem -- ERROR 2002 Can't connect to local MySQL server

    Not Sure if this would be a right forum for my problem...
    I'm installing mySQL on my iBook, and thought that I have configured it. But then, after followring some instuctions from Adobe and Marc Liyanage sites, I have a problem to connect. This is what I've done in "TERMINAL"
    ~username$> cd /usr/local/mysql
    mysql ~username$> sudo chown -R mysql data/
    (asking for admin password)
    mysql ~username$> sudo echo
    mysql ~username$> sudo ./bin/mysqld_safe &
    username-ibook-g4:/usr/local/mysql username$ Starting mysqld daemon with databases from /usr/local/mysql/data
    STOPPING server from pid file /usr/local/mysql/data/roshaili-osmans-ibook-g4.local.pid
    060611 16:31:30 mysqld ended
    mysql ~username> /usr/local/mysql/bin/mysql test
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    [1]+ Done sudo ./bin/mysqld_safe
    mysql ~username>
    When I typed ::
    /usr/local/mysql/bin/mysqladmin -u root
    (see that there's no password)
    Then it displays:
    /usr/local/mysql/bin/mysqladmin Ver 8.41 Distrib 5.0.22, for apple-darwin8.6.0 on powerpc
    Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL license
    Administration program for the mysqld daemon.
    Usage: /usr/local/mysql/bin/mysqladmin [OPTIONS] command command....
    -c, --count=# Number of iterations to make. This works with -i
    (--sleep) only.
    ...... bla bla bla.....
    Variables (--variable-name=value)
    and boolean options {FALSE|TRUE} Value (after reading options)
    count 0
    force FALSE
    compress FALSE
    character-sets-dir (No default value)
    default-character-set (No default value)
    host (No default value)
    port 0
    .........bla bla....
    ping Check if mysqld is alive
    processlist Show list of active threads in server
    reload Reload grant tables
    refresh Flush all tables and close and open logfiles
    shutdown Take server down
    status Gives a short status message from the server
    start-slave Start slave
    stop-slave Stop slave
    variables Prints variables available
    version Get version info from server
    roshaili-osmans-ibook-g4:~ roshailiosman$ >
    -----------------finish-----------------
    Does that mean that I'm connected to mySQL?
    Does anybody how to connect to MYSQL from the terminal? Thanks.
    iMac Mac OS X (10.4.6)
    iMac   Mac OS X (10.4.6)  

    Your biggest 'issue' right now is that your mysqld process is stopping on you -- making a connection impossible.
    Why it's bombing might be in a log .. try in mysql/data/usr.local.err .. and fix why itsbombing.
    To connect to it it'll be : mysql -u root -ppassword -D database

  • MySQL Connection "HTTP Error Code 403 Forbidden"

    I can't seem to connect to my MySQL database on Go Daddy. I
    have the db set up for remote access and can connect just fine with
    Sequel Pro. But, when I try to connect to build my application in
    Dreamweaver I always get "HTTP Error Code 403 Forbidden". I've
    spent a good chunk of the last 3 days banging my head against this
    problem. At this point I'm thinking of dumping Dreamweaver. I
    thought these things were supposed to be easy? Yes, I'm very
    frustrated...
    All help is greatly appreciated.
    Thanks

    Pls check if your database name is already taken by someone
    else on GoDaddy. GoDaddy has a policy that a database name taken on
    any website hosted by them cannot be taken by another user.
    If your database name was accepted by GoDaddy, see if the
    first few lines of your SQL file contain code like:
    DROP DATABASE IF EXISTS . . . or
    CREATE DATABASE . . . or
    USE . . .
    If such lines are there, delete them so that the code starts
    with:
    DROP TABLE IF EXISTS . . .
    Save the SQL file and try to upload it.
    Good luck!

Maybe you are looking for

  • After iOS6 update, iPhone 4 doesn't sync calendar with iTunes

    Hello, I have an iPhone 4. After update to iOS6 the sync of my calendar has a strange behavior! It doesn't sync anymore. When I enter a calendar entry on iPhone, it's not synchronized with the macbook Calendar. I changed calendar dates on my macbook

  • ADF Faces -- Input Text

    Hello all I am developing a GUI using ADF Faces and I have only one problem left in my jsp. I use an Input Text with its "readOnly" attribute set to true to show some values in the screen and it works just fine, but now I need to input the values sho

  • How to put blob data in OS (help!?)

    hi, I am a beginner in oracle. Now i use sql*loader and put some jpg,rm files in blob(jpg->blob) , but,in reverse, i don't know how to extract blob and put it in my OS(blob->jpg).......>_< thanks d.t.

  • PI - monitoring queues through Mobile apps

    Dear Team, Currently we are on PI 7.3 version and client has come up with the expectation of exploring the possibility of PI queue monitoring through Mobile apps. We are going to upgrade our system to 7.4 in couple of month so any solution for ver 7.

  • Exception thrown while reading an XML file using Properties

    Exception thrown while reading an XML file using Properties. Exception in thread "main" java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed. at java.util.