netbeans-netcat mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Efrem Mc <efrem...@gmail.com>
Subject Re: Unable to start MySQL in NetBeans
Date Thu, 26 Apr 2018 11:11:24 GMT
Hi all:
I have the following running on this system concurrently MySQL 5.6 on port
3308, Maria DB 10.x on port 3306, MySQL 8.0.11 on port 3310, and Oracle XE
Express on port 1521. Several Apache & Tomcat servers running on different
ports and all working.



On Thu, Apr 26, 2018, 1:26 AM Efrem Mc <efremmc2@gmail.com> wrote:

> Tested on NB 9.0 build 413 using MySQL 8.0.11 using legacy
> authentication.  This works!
>
> Pictures for proof.
>
> Efrem
>
> On Thu, Apr 26, 2018 at 12:51 AM, Efrem Mc <efremmc2@gmail.com> wrote:
> > Hi all:
> >
> > Once the connection was made, I ran a command:   create database dbtest
> > It works!
> >
> > Now testing on NB 9.0 beta build 413 on Windows and MacOS.
> >
> > Regards,
> >
> > Efrem
> >
> > On Thu, Apr 26, 2018 at 12:29 AM, Efrem Mc <efremmc2@gmail.com> wrote:
> >> Hi all:
> >>
> >> Here is something to review.  Starting in mySQL 8.0.11, there is a new
> >> authentication method; Use Strong Password Encryption for
> >> Authentication using SHA256-based password methods or Legacy
> >> Authentication Method (Retain mySQL 5.x Compatibility).  If you select
> >> the Strong Password Encryption method, a new connector and clients
> >> (caching_sha2_password authentication) is needed.  The system admin
> >> can select which method to use.  For compatibility, I selected Legacy
> >> authentication and different connector.
> >>
> >> The default connector in NB 8.2 for mySQL uses the following:
> >>
> >> Driver:           C:\Program Files\NetBeans
> >> 8.2\ide\modules\ext\mysql-connector-java-5.1.23-bin.jar
> >> Driver class:  com.mysql.jdbc.Driver
> >> Name:           <any name you want here, defaults: MySQL (Connector/J
> driver)>
> >>
> >> This will NOT work with 8.0.11!
> >>
> >> Using Legacy mode, use the following:
> >> Driver:           C:\Program
> >> Files\Java\jdk1.8.0_162\db\lib\mysql-connector-java-5.1.46.jar
> >> Driver class:  com.mysql.jdbc.Driver   (Same calling method)
> >> Name:            <any name you want here, I changed it to: MySQL
> >> (Connector/J driver) 5.1.46>
> >>
> >> This works using NB.  See attached.  I downloaded the above driver,
> >> search for it.
> >>
> >> I will next change the authentication method to the Strong Password
> >> Encryption and use the following configuration.  I will also test it
> >> with the legacy authentication to just see it fail.
> >>
> >> mysql-connector-java-8.0.11.jar
> >>
> >> It is installed in:  C:\Program Files (x86)\MySQL\Connector J 8.0
> >> But this requires either a selective installation of mySQL using their
> >> installer, just don't accept the default method to customize it.  I
> >> selected the components to install and selected the connector.
> >>
> >> The connector is also available at:
> >> https://dev.mysql.com/downloads/connector/j/5.0.html
> >>
> >>
> >> phpMyAdmin from version 1.42 and higher supports the administration of
> >> multiple MySQL servers.  I am attaching one I am usings as an example.
> >> I am using XAMPP on Windows here.
> >>
> >> The file is located in: C:\xampp\phpMyAdmin\
> >>
> >> The filename is config.inc.php.  I changed the name because I hard
> >> coded the admin account and password.  There is probably a method to
> >> prompt for the name. I did not have time to set it up or try it.
> >>
> >>
> >> Regards,
> >>
> >> Efrem McCrimon
> >> GUI Builder Tribe
> >> DB Tribe
> >>
> >>
> >>
> >> On Wed, Apr 25, 2018 at 6:04 PM, Martin O'Shea <
> martin_oshea@outlook.com> wrote:
> >>> Paul
> >>>
> >>>
> >>>
> >>> I have just run MySQL_Upgrade as you suggested, and have restarted
> MySQL and
> >>> NetBeans. But unfortunately, the result is the same as before.
> >>>
> >>>
> >>>
> >>> Yet I know that table 'mysql.plugin' does exist.
> >>>
> >>>
> >>>
> >>> Any ideas?
> >>>
> >>>
> >>>
> >>> Thanks
> >>>
> >>>
> >>>
> >>> Martin O’Shea.
> >>>
> >>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message