connect to local mySQL using MySQL Administrator

Hello
I had a problem using a mySQL database remote dreamweaver php development (some tables wouldn't show in the database view). So I decided to install mySQL locally on my development computer.

I use mySQL administrator to manage my databases and do not know how to connect to the new local mysql, I installed?

Since the installation of mysql 5.0, I created not databases etc, so I guess I need to do first to get something to you connect to...?

Secondly, should what details I use to connect:

Host name: localhost?
Port: 3306?

All the tips, much appreciated.

Hi Nick, thanks for your response.

I am familiar with the connection to the DW databases, connection strings etc. But when I create a connection that is "successfully tested", the database tables do not show in the window DW database?

That's why I installed mysql locally, hopefully resolve this issue. However, I could not connect to mysql using mysql administrator to manage. It was my request in the post.

I now setup users mysql server scripts and a database. Now I can conenct help mysql administrator using the host name 'root', etc..

Thanks for your comments. Can I after return and get some feedback so I still don't see tables via my local mysql also server DW.

Thanks again.

Tags: Dreamweaver

Similar Questions

  • PhpMyAdmin can not connect to local MySql server on Windows 7

    PhpMyAdmin can not connect to local MySql server on Windows 7

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Can't connect to local mysql

    What could be the cause of the mysql socket to refuse connections - I get the following error:

    MySQL Error 2002
    Unable to connect to the local MYSQL server through socket ' / var/mysql/mysql.sock' (2)

    I use the login name: con1
    Sever localhost
    Mysql username - and several other attempts
    Mysql password - and several other attempts
    Database (go for it)

    I'm on Mac OS x 10.4.10, using Dreamweaver 8.
    I changed my configuration file to run the PHP and it works very well; I was able to set up the tables MySQL using Terminal Server. So what else should I look for? My local info, remote info, and the test server info all point to my local site directory. Prefix of the URL is http://127.0.0.1/~myname/

    Thanks for any help.

    David, your answer was most useful. Find how to make the symbolic link was my next challenge, but I got it and it works! In the Terminal, I found that there was a /tmp/mysql.sock but nothing to/var/mysql/same not a directory for mysql. So I had to create one and then make the link - s. I also had to use the superuser permissions to do.

    On a Mac 10.4.10, here's what you do - in the Terminal
    CD /var/
    sudo mkdir mysql
    CD (to return to the root)
    sudo ln-s /tmp/mysql.sock /var/mysql/mysql.sock

    At any time, you can run the ls command to see all the files and directories in the current directory, so you can keep track of you. Always press cd (enter) to return to the home (root).

    Now when I return to Deamweaver, I can set up a connection to my databases and see them in the list!

    Thanks again for your help, David. I'll check your PHP books too!
    TEDRA

  • Can't connect to local MySql through Dreamweaver 8

    My problems started as suggested by the title with connection to MySql and get the error that MySql modules were not loaded etc. I know that MySql is ok I checked through Navicat & MySql Administrator, can create tables, add records etc.

    Then I looked at the config PHP, apache works and can check phpinfo() page. But when I change the loaded extensions, nothing changes in the output of phpinfo. My global config is:

    Windows XP
    PHP 5.1.4
    MySql 5.0.19
    Apache 2.0.50

    In the phpinfo() page it says that my php.ini location is c:\windows that is incorrrect it lies in c:\php. There is no other file php.ini on my machine. If I move the PHP.ini in c:\windows I get my phpinfo() page, no errors are just a message in the lower left corner of Firefox.

    I downloaded and I use the last MySql connectors php_mysql.dll and libmysql.dll. I have worked on this for the last two days and have considered installing WAMP, but don't want to water my installation of MySql and Apache.

    kevibarry wrote:
    > Page phpinfo() it says that my php.ini location is c:\windows which is
    > incorrrect located in c:\php.

    You use Navicat, which seems to have some evil influence on PHP
    facilities. I've never installed it myself, but I know that he
    moved libmysql.dll to C:\WINDOWS\system32. Often the version
    installed by Navicat is obsolete. Since Navicat is going berserk if you
    Remove libmysql.dll from this location, you must copy the
    update in your system32 folder.

    Also, make sure that your PHP file is in the Windows PATH.

    --
    David powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Unable to connect local database using net service name

    Hello all;


    FYI: This question has been posted in high availability. Now, it has been deleted from there.


    I'm trying to connect my local database using authentication remote.

    but make a mistake. Client & server are on the same server.


    SQL > conn u1/u1@primdb

    ERROR: ORA-12545: Connect failed because target host or object does not exist


    SQL > conn / as sysdba

    Connected.


    SQL > show parameter db_name;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_name chain primary


    SQL > show parameter service_name.

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    service name string mydb


    SQL > show parameter db_domain;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_domain string primary.com


    SQL > show parameter global_name;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    global_names boolean FALSE


    SQL > select * from global_name;

    GLOBAL_NAME

    --------------------------------------------------------------------------------

    PRIMARY

    [oracle@localhost admin] $ lsnrctl start

    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:32:08

    Copyright (c) 1991, 2005, Oracle.  All rights reserved.

    From /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

    TNSLSNR for Linux: Version 10.2.0.1.0 - Production

    System settings file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora

    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log

    Error listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=oel5.linuxserver) (PORT = 1521)))

    TNS-12545: Connect failed because target host or object does not exist

    AMT-12560: TNS:protocol adapter error

    TNS-00515: Connect failed because target host or object does not exist

    Listening port could start. See the above error messages...


    -----------------------------------------------------------------------------------


    My listener.ora file content:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = primary)

    (ORACLE_HOME = u01/app/oracle/product/10.2.0/db_1)

    (GLOBAL_DBNAME = mydb.primary.com)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver) (PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))

    -----------------------------------------------------------------

    My tnsnames.ora content

    primdb =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST= oel5.linuxserver) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = mydb)

    )

    )

    --------------------------------

    $ tnsping primdb


    AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:40:55

    Copyright (c) 1997, 2005, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = oel5.linuxserver)(PORT=1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mydb)))

    TNS-12545: Connect failed because target host or object does not exist

    Thanks in advance...


    SERVICE_NAME =? in tnsnames.ora file should MATCH what is reported by the listener EXACTLY (like one from below)

    > Service 'mydb.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary_XPT.primary.com' has 1 instance (s).

  • Unable to connect to the local MySQL server through socket ' / var/lib/mysql/mysql.sock' #2 #.

    I received an email indicating that HP does not show me as having all printers which explains why I have not received information of driver update I guess.  But when I typed in HP4500 G510, I received the following error message:

    Unable to connect to the local MySQL server through socket ' / var/lib/mysql/mysql.sock' #2 #.

    And since I don't know beans about computers, I don't have any idea what it means.

    Because I had to pick a topic, I chose the one above, but no other choices were nowhere near cover.

    Hi mac64.
    I understand you are trying to register for updates for your Officejet 4500. I can certainly help you with this.

    I'll give you a link to try to register for driver updates. Please let me know if it's the same link you used and if this works differently for you, simply click on the following link: the HP driver updates.

    Hope to hear from you soon

  • Problem: connect Dreamweaver CC to a local MySQL database

    Nice day

    I use Dreamweaver CC to create a dynamic site, on a Mac (but I had the same problem when I tried on Windows), with MAMP as a local server Apache with MySQL.

    the main folder of my site is .../htdocs/mysite/ so in the server settings, I set myself as follows:

    Schermata 2016-03-05 alle 10.44.21.pngSchermata 2016-03-05 alle 10.44.27.png

    And this is a job for the live preview.

    BUT

    When I try to connect Dreamweaver to MySQL, it seems that the error:

    Schermata 2016-03-05 alle 10.54.19.png

    If you ask, MAMP use 8888 for Apache http and 8889 for mysql. I can change these for 80 and 3306 by default (and write only 'localhost'), but I have the same problem. Infact if dreamweaver did not find a connection message speaks of a 404 error, so I don't think that the problem is on the configuration of the port.

    In another post, I found on the internet about this, someone said that it is a problem between different versions of php or mysql in dreamweaver and MAMP. But I have the same problem on windows with XAMPP.

    Can you help me?

    Thank you!

    This PHP: mysql_pconnect - manual should answer your question.

    In case you do not understand, the said function is not valid for PHP version 7. If you install PHP version 5.4, you won't a problem except on the track when PHP7 becomes public.

  • Connect to a Local MySQL database

    I am creating a java application and need to use a database. I decided to use a local MySQL database. I'm having difficulties to establish a connection to the database. I have analyzed various codes for this problem on the internet and wrote my own code similar to those that I analyzed. I don't see why the code below does not work because I also put the path to the connector inside the variable classpath to the environment. I did everything that was suggested on various jdbc tutorial sites and yet my code does not work. Any suggestion would be appreciated. I already posted a thread on this issue before, but the suggestions really helped and I'm hoping to get different results this time.

    These are the errors I get:

    January 2, 2011 18:10:22 homeworkorganizer. Database addCourse
    GRAVE: null
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.Class.forName0 (Native Method)
    at java.lang.Class.forName(Class.java:169)
    to homeworkorganizer. Database.addCourse (Database.java:28)
    at homeworkorganizer.test.main(test.java:17)
    January 2, 2011 18:10:22 homeworkorganizer. Database addCourse
    GRAVE: null
    java.sql.SQLException: no suitable driver found for jdbc:mysql://localhost/homework
    at java.sql.DriverManager.getConnection(DriverManager.java:602)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    to homeworkorganizer. Database.addCourse (Database.java:51)
    at homeworkorganizer.test.main(test.java:17)
    BUILD successful (total time: 0 seconds)


    Code I have:


    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */

    package homeworkorganizer;
    import java.sql. *;
    import java.util.ArrayList;
    import java.util.Properties;
    import java.util.StringTokenizer;
    import java.util.logging.Level;
    to import java.util.logging.Logger;
    java.net import. *;


    /**
    *
    Nisha * @author
    */
    public class {Database



    private String ipAdress = "localhost";

    ' public void addCourse (String courseNumber, String courseCredit, String courseName) {}
    try {}
    Class.forName ("com.mysql.jdbc.Driver");

    } catch (ClassNotFoundException ex) {}
    Logger.getLogger (Database.class.getName ()) .log (Level.SEVERE, null, ex);

    }

    Server String = "jdbc: / /" + ipAdress + "/"; "."
    String dbName = "homework."

    String url = Server + dbName;

    Properties props = new Properties ();
    props.setProperty ("user", "Christian");
    props.setProperty ("password", "pass");

    Connection Conn;
    Statement st;
    String columns = "course_number, no_credits, course_name;
    String sqlInsrt = "insert current ()" + columns + ") values";

    try {}

    Conn = DriverManager.getConnection ("jdbc:mysql://localhost/homework", "root", "kish");
    System.out.println ("connected to the database\n");
    St = conn.createStatement ();


    Add the user to the database
    String userInfo = "(""+ courseNumber +" ', '"+ courseCredit +" ', '"+ courseName +" ")"; "

    Use executeUpdate when our statement will change the database.
    st.executeUpdate (sqlInsrt + userInfo);


    }
    catch (SQLException ex) {}
    Logger.getLogger (Database.class.getName ()) .log (Level.SEVERE, null, ex);
    }

    }
    }

    According to the error, your class cannot find driver class... This means that you have not added the mysql connector jar file in your build or lib path... Please check the same...

  • Is it possible that muse adobe to have a Back-End that connects to a database using MySQL, SQL, Access etc...

    Is it possible that muse adobe to have a Back-End that connects to a database using MySQL, SQL, Access etc...

    Nothing to do with the Muse at all. You have things backwards. If you use a dynamic interface, you work in the API hooks and predefined functions and that he don't just slap on an arbitrary HTML façade. It is simply not how it works.

    Mylenium

  • Connection - remote control - MySQL access problem

    I went through the development and testing of my site and now I'm trying to deploy it.

    I have subscribed to a new host and acquired a new domain. I was able to FTP all the files and the works of basic site. However the dynamic elements using MySQL and WordPress are not properly configured.

    As the first step to fix this, I set up the remote database and the Table (same definition as local testing). I imported data into this table, and sounds good. The only difference I see is that host small database name by adding prefix my id with a '_' and so I had to shorten the name to "famhist' instead of 'familyhistory.

    My problem is when I try to configure the MySQL connection and try to select the database that it produces the following error message:

    What I don't understand is where he would have taken the part ".demon" of that name. Web site I'll hang up a ".demon" in the name, but the new site does not work.

    My new host allows the connection of test remotely.

    I use PS CS5 Windows XP.

    Any help would be appreciated.

    Access error.jpg

    baughen wrote:

    Also, could you clarify what 'user name' should be used that I've seen different descriptions and they vary or are not clear. What is the FTP, login to host account account or the database user account?

    And finally, as the database name is different between local and remote, I guess I have to change the room to match the remote control (which my host requires a certain format)?

    When connecting to a database, it is the name of the database user account and password that should be used.

    Because your hosting company determines the name of the database for you, it is much more sensible to use the same database name in your local test environment. In fact, you must also define a local MySQL user account that uses the same credentials as your remote database. Then, the only change you'll need to do in the connection file is changing from your remote server name localhost.

  • JDBC connectivity with a mysql database

    I created a MySQL database, but I have problems with communication with the DB in java

    Here is the error

    java.sql.SQLException: no suitable driver found for jdbc:mysql://localhost:3306 / books

    at java.sql.DriverManager.getConnection(DriverManager.java:604)

    at java.sql.DriverManager.getConnection(DriverManager.java:221)

    to displayauthors. DisplayAuthors.main (DisplayAuthors.java:30)

    java.lang.NullPointerException

    to displayauthors. DisplayAuthors.main (DisplayAuthors.java:66)

    BUILD successful (total time: 1 second)

    ---

    I edited windowds system variables

    CLASSPATH

    .; C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip

    CLASSPATH1 (note the 1 at the end, I don't want to replace the previous

    ., C:\Program Files (x 86) \MySQL\Connector J 5.1.30\mysql-connector-java-5.1.30-bin.jar

    ---

    Host name: localhost Port: 3306

    User name: root

    password: Tpswsd77? (changed to thios post)

    Stored connection: Instance local MySQL56

    Connection method: Standard (TCP/IP)

    HERE IS THE CODE

    public class DisplayAuthors {}

    Database URL

    public static final String DATABASE_URL = "jdbc:mysql://localhost:3306 / books."

    Launch the application

    Public Shared Sub main (String args [])

    {

    Fitting out = null; corresponds to a connection

    Statement statement = null; query statement

    ResultSet resultSet = null; manages the results

    connect to the database books and database query

    Try

    {

    establish a connection to the database

    connection = DriverManager.getConnection)

    DATABASE_URL, "deitel', 'deitel'sc');

    < defaultstate editor-fold = "collapsed" desc = "comment" >

    DATABASE_URL, 'root', 'Tpswsd77?');

    < / Publisher-trick >

    CREATE statement to query the database

    Statement = connection.createStatement ();

    query database

    resultSet = statement.executeQuery)

    "SELECT authorID, firstName, lastName FROM authors");

    process query results

    ResultSetMetaData metaData = resultSet.getMetaData ();

    int numberOfColumns = metaData.getColumnCount ();

    System.out.println ("Table Authors of books database: \n");

    for (int i = 1; i < = numberOfColumns; i ++)

    System.out.printf ("%-8s\t", metaData.getColumnName (i));

    System.out.println ();

    While (resultSet.next ())

    {

    for (int i = 1; i < = numberOfColumns; i ++)

    System.out.printf ("%-8s\t", resultSet.getObject (i));

    System.out.println ();

    } / / end while

    } / / end try

    catch (SQLException sqlException)

    {

    sqlException.printStackTrace ();

    } / / end of capture

    Finally / / resultSet, statement and connection are closed to this

    {

    Try

    {

    resultSet.close ();

    Statement.Close ();

    Connection.Close;

    } / / end try

    catch (System.Exception Exception)

    {

    exception.printStackTrace ();

    } / / end of capture

    } / / end finally

    } / / main end

    } / / end of class DisplayAuthors

    Given that you seem to be running from netbeans, you would better add the jar to the project libraries...

    And NO, you should NEVER put anything in your system classpath. It's a very bad habit, led to the equivalent of Java of the DLL hell and of course from the moment that you distribute the application to any other machine that's going to fail again.

    Add it instead of the specific CLASSPATH of the application.

    And do not put anything on the class path that has spaces in the name, it is no longer can cause problems, but don't count on that it works.

  • Connect to GoDaddy/MySQL

    I'll build a Web site that needs to connect to a MySQL database. I created the db and a table on the server host (GoDaddy), I also created a form on the website of the host server, now I need to create a login record. I complete the information requested in DW CS4, click 'Test' and it does not immediately with "an unidentified error has occurred". The speed of error message tells me that he is even not to reach the server so I wonder if there are other settings I should use. Those I have is:

    • Name of the connection
    • MySQL Server
    • Username
    • Password
    • Database

    I checked the connection file and compared with other hosts I use, the only difference seems to be that the other host has an IP address for the MySQL (I tried to use the ip address that is provided by GoDaddy and had the same error message.

    I'm at a loss to know where to look next. Any ideas I would really appreciate. With the help of DW CS4 / Win7

    Thank you

    Tony

    Okay, I never thought I'd be happy to see an "http: 503 Service unavailable" error message - but it's better than "unidentified error"! It turned out that I had not defined PHP MySQL as the server to the test server model in the site definition. Search on Google, he said that it was a temporary condition which should dissipate on its own. So far one hour has elapsed and no luck. Next stop will be GoDaddy Tech Support - for the 4th time in this saga!

    After an hour or two with Stephen, a very useful to GoDaddy tech support guy, none of us could understand what was wrong, so we decided that the best way forward was to try to redefine the new site in DW and pointing to the site under development. It worked.

  • Error message "User profile Service is a not the user of the connection profile cannot be loaded" when you try to connect using the Administrator profile

    Original title: cannot use my administrator profile

    When loging on my laptop, I get this error when I click on my profile administrator "user profile Service is not the user of the connection profile cannot be loaded. This comes after the password is accepted. The only way I can connect to my computer is one of my accounts of comments. I can't change anything because I can't sign as an administrator. How can I fix? I have a Compacq laptop running Windows Vista

    Original title: cannot use my administrator profile

    When loging on my laptop, I get this error when I click on my profile administrator "user profile Service is not the user of the connection profile cannot be loaded. This comes after the password is accepted. The only way I can connect to my computer is one of my accounts of comments. I can't change anything because I can't sign as an administrator. How can I fix? I have a Compacq laptop running Windows Vista

    If you cannot connect to your admin account, no tutorials can help you because they need you to connect to an administrator account to carry out the instructions.

    See if the following can get an admin account...

    Go to Safe Mode...

    Restart your computer > immediately and repeatedly pressing the F8 key until you see a black and white screen. The top/down arrow and select Mode safe mode with networking.

    Now, while in safe mode, you perform one of the following?

    1 can connect to your account admin without the error message?
    If so, do. Then do a system restore. Choose a date when you were free to login to your account admin as your restore point.

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    If the system restore does not slove the problem, then use this tutorial

    http://support.Microsoft.com/kb/947215

    2. If you are unable to log in to your account administrator in safe mode, you see another administrator next to your account?
    If so, you are lucky. This is the built-in Administrator account.
    There is, by default, no password.
    It could connect and do the system restore.

    If the system restore is not enough, then perform the tutorial even as above:
    http://support.Microsoft.com/kb/947215

    If you can't do or of what precedes, I'm afraid you will have to re - install your Vista.

  • After upgrade from Vista to Windows 7 Ultimate home, no problem connecting to the internet when logged as an administrator, but cannot connect to the internet using the standard account. How to fix this?

    After upgrade from Vista to Windows 7 Ultimate home, no problem connecting to the internet when logged in as an administrator,

    but unable to connect to the internet using the standard account.  I have the latest version of the Solution Explorer.

    How to fix this?

    Glad to hear it.

    If the problem is resolved, mark the message as response, then it'll be useful for people with similar/identical problem.
  • How can I connect Dreamweaver to MySQL?

    I am trying to connect Dreamweaver to MySQL. I have my downloaded datatbase. The instructions I'm following say click on the + button at the top left of the databases, control panel and choose MySQL connection. I see not all + all over my screen. The instructions may be for MAM Pro that I did not. How can I connect when I could not find the connection menu? I'm on a Mac. Thanks for any help.

    Hello

    Try following this tutorial - http://www.webassist.com/support/documentation/how-tos/creating_db_connection.php.

    The + button is displayed in the image of 'connect to your database' article tutorial, (top left).

    PZ

Maybe you are looking for