I tried to install MySQL on my machine (win 8 64 bit), I downloaded mysql-5.6.24-winx64.exe and after completing MySQL 5.6 setup wizard, the MySQL Server Instance Configuration Wizard does not start and nothing happens. In the windows start menu for MySQL I have only 2 options:MySQL 5.6 command line client and MySQL 5.6 command line - Unicode.
So what can I do to resolve this problem and run MYSQL on my machine, I am waiting for your advice. Please help me I need to resolve this problem
I strongly recommend to use the all-in-one Windows installer for installing a MySQL server plus any additional tool you want, like MySQL Workbench, connectors or documentation. It will not only install the right package but will also do semi-automatic updates, check for prerequisites, start the configuration wizard etc.
Related
I started learning Java EE, and I decided to develop my small application in simulated "real world production" environment:
I decoupled the development and deployment environment into a laptop (with Eclipse IDE) and a server (Raspberry Pi with Tomcat/TomEE and MariaDB).
With this environment I can learn not only EE development but the deployment phase, too.
The problem
After installation of MariaDB I realized that the MariaDB's JDBC connector doesn't work properly. I successfully made a connection in Eclipse via Generic JDBC (I used MariaDB's default connector). Pinging the server was also successful, but every query returned void results.
I tried the following queries:
show tables in dbName;
select * from tableName;
show databases;
When I tried to make entities from tables in a new JPA project, Eclipse didn't offered any tables.
Can somebody please help me to make a complete working connection to MariaDB.
What did I try (until this moment, without result)?
Updated the Raspbian system by apt-get update, moreover I did the same after installing MariaDB.
Tried to install MySql 5.6 with apt-get and dpkg, but the armhf version is not available on Raspbian Stretch
In Eclipse's Preferences/Data Management/Connectivity/Driver Definitions I tried to install MySql driver instead Generic JDBC
In properties (in Edit Driver Definition) tried the following Connection URL-s:
jdbc:mysql://hostName:port/
jdbc:mariadb://hostName:port/
jdbc:mysql://hostName:port/dbName
jdbc:mariadb://hostName:port/dbName
jdbc:mysql://hostName:port/dbName?user=userName&password=password
jdbc:mariadb://hostName:port/dbName?user=userName&password=password
Tried older version of JDBC connectors, too (mariadb-java-client-2.1.0.jar), without good result.
I installed MySQL on local machine, I could connect it in Eclipse successfully.
I could successfully connect, create, insert, alter tables in MariaDB from locally installed MySqlWorkbench.
I installed MariaDB on local machine. Despite the connection ping was successful in Eclipse, the void query result was the same as the remote MariaDB connection.
I installed NetBeans to check whether I can connect MariaDB with it's driver. The result was SUCCESS (screenshot is attached)
One more weird thing: in Data Source Explorer the tree structure is different between MySQL and MariaDB (see the screenshot)
The environment
Server:
Raspbian Stretch (Debian 9.1)
Java: openJKD 1.8.0_141, OpenJDK Runtime Environment build 1.8.0_141-8u141-b15-1~deb9ul-b15, OpenJDK Zero VM build 25.141-b15-1~deb9ul-b15
MariaDB Ver 15.1 Distrib 10.1.23-MariaDB, for debian-linux-gnueabihf (armv71)
Local machine:
Windows 10 Pro 64bit, version: 1703, build: 15063.674 (Hungarian language local)
MySqlWorkbench 6.3CE, 6.3.9 build 10690321 CE(64 bits)
Eclipse Neon.3 Release (4.6.3), Build id: 20170314-1500
NetBeans IDE 8.2, Build 201705191307
Java: JDK 1.8.0_151 (x86_64 architecture)
JDBC: mariadb-java-client-2.1.2.jar (This worked successfully with NetBeans)
To summarize, in Eclipse I can make a connection to MariaDB via Generic JDBC, the ping is successful, but I cannot get any result from queries (and cannot generate entities from tables).
Solved:
In Eclipse you don't have to use MariaDB's JDBC 2.1.2. connector. It is fully MySQL compatible just use MySQL JDBC 5.1 default (mysql-connector-java-5.1.41-bin.jar). Now it works fine!
I'm creating an installer for modeling software, and we encourage our users to install MySQL Workbench to access model output. However, because the MySQL installation process isn't exactly straight forward, many users end up only installing MySQL Server and fail to install MySQL Workbench. How can I detect during my installation process if MySQL Workbench is installed?
On my development machine, there is a registry entry at HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Workbench 6.3 CE\Location. I could check to make sure that path exists, but this approach requires MySQL registry keys to be up-to-date (I've been burned relying on this approach trying to detect MySQL Server) and it is version specific.
If it turns out that this is the best option, are there other registry paths that I would need to check?
Am I safe checking MySQL Workbench 6.2 CE, MySQL Workbench 6.3 CE, MySQL Workbench 6.4 CE, etc, or are there other versions out there (e.g. non-"Community Edition")? This isn't apparent to me after spending some time on Workbench's website.
More information:
Since MySQL updates their package much more frequently than we update ours, we are hesitant to bundle a version of the MySQL MSI in our installation package and do a silent install, because it will likely be out of date. Instead, we detect if MySQL has been installed, and if not, we direct them to MySQL's download page and tell them to install MySQL Server and Workbench. This generally works for getting Server installed, but Workbench frequently fails (either because of the pre-reqs and MySQL Installer's non-intuitive prompts, or because they don't notice our recommendation). Therefore, I'm looking for a way to detect if Workbench is installed so I can offer a second prompt if needed.
Does the Workbench GUID stay the same over all the different versions? I'd hate to hard code one in and then have my installer be unable to detect newer/older/non-"Community Edition" versions.
I need to install DB2 (DB2 Advanced Enterprise Server Edition 10.5) in a centos linux VM. I am not allowed to do a X11 forwarding.
Is it possible to install DB2 server via command prompt?
You can install without a GUI using db2_install. It has a help option and is documented in the DB2 Knowledge Center. The command is located in the top directory of your install files.
I have windows 8.1 and I am trying to install MYSQL workbench 5.2CE.
But it is showing this error :"Can't connect to MySQL server on 'localhost' (10061)".In program files under mysql there is no bin folder and even in services.msc there is no process for mysql.
What should I do.
Thanks in advance
MySQL Workbench is only a client program and needs a server to work against. If you want to work with MySQL locally on Windows I recommend to use the MySQL Installer for Windows, which not only installes MySQL Workbench, but also a server of your choice (by default: the current GA version).
Once that is installed MySQL Workbench will automatically detect the server and you can immediately start a connection to it.
I downloaded what I believe to be the latest copy of Dreamfactory for Windows from Bitnami bitnami-dreamfactory-1.8.2-0-windows-installer.exe. I would like to connect to an IBM DB2 remote database. In using the Admin Console I don't see an option in the SQL Vendor dropdown for IBM DB2. Did I miss a configuration step? If not, what do I need to do to configure IBM DB2 as a Remote SQL DB? I can't seem to find a reference in the documentation for how to do this.
Update
I just installed the Bitnami Ubuntu vmware appliance and it has a DB2 dropdown. Therefore, there is a flaw in the Windows 1.8.2 self installer.
With a quick test of the windows installer, we did confirm the DB2 value is in the dropdown menu. Please try to refresh the window frame or clear browser cache to see if that helps.
Also, the Bitnami package released for 1.8.2 currently doesn't have the db2 driver installed by default. We are working on getting another build that has better default setup. In the mean time, this link has the Windows instructions. I will try to get a more detailed instruction set for Windows.