Facing issues in MySql and SqlYog using together - mysql

I have MySQlWorkBench and SqlYog together on my machine.
And I have XAMPP control panel to start Apache and MySql.
When i have only SqlYog then XAMPP was starting the MySql successfully. But after installing MySql, XAMPP never started the MySql immediately and it starts once i stopped one service perhaps having name like "MySql57" from services.msc.
Please suggest how i could handled together the MySql and SqlYog.
And with this please suggest that how could i connect the MySql and SqlYog from ASP.Net application.
I will really thankful to you.

Related

MySQL Workbench Server startup

I am having trouble starting up a server through MySQL Workbench. From the navigator pane on the left side of Instance -> Start/Shutdown, I tried the "Start Server" button at which point the server will look like it will try to start. The workbench will get hung up at this point and indefinitely not respond with a "thinking" mouse icon while in the workbench app.
This is my first time learning to use MySQL workbench, which I want to say that when I initially installed MySQL Workbench a server did start after installation and worked fine. It was after restarting my computer and checking on the workbench the next day (today) that the server no longer runs. I'm not seeing any MySQL references in my Services (services.msc) that might relate to starting up but that might also be because I did not install as a Windows Service. My original troubleshooting was in trying to establish a connection, which I realized it was because the server wasn't running. Could someone help me understand why the server isn't starting? Or would it be recommended to install the workbench as a Windows Service to avoid the issue I'm having?
Screenshot of the MySQL Workbench window where the application will get hung up when starting the server.
Current setup: Personal workstation, Windows 10 (64 bit), MySQL Workbench 8.0 (version 8.0.29 build 1751076 CE 64 bits). I do not plan on running the server 24/7 since this is my personal workstation.
Right-click on My Computer
Select Manage
Select Services under Servies and applications
Find MySQL among the services and open it.
Choose Automatic as a start option.
Click on start.
Press Apply & OK then exit.
It is not necessary, but I still recommend restarting PC.
The solution below fixed my issue. I definitely recommend installing MySQL Server as a windows service and making sure uncheck mark the box that says to start when Windows starts unless you plan to have your computer as a dedicated server.
Source from #Lazycoder_007
This solution uses the window's mysql installer which you have used to
install your MySQL.
Start your windows mysql installer. For me it was
"mysql-installer-community-8.0.20.0"
Then remove/uninstall the SQL
Server and remove all configurations
Manually delete the SQL Server
folder from "C:\Program Files\MySQL\MySQL Server 8.0."
Start your
mysql installer again and install the SQL Server again
You can check
now that the MySqL Server has started.

No MySQL Service in Windows Services Manager

I installed MySQL Workbench recently, and had a bunch of problems starting MySQL. After a lot of troubleshooting I realized the MySQL Services wasn't running. Also I don't have a 'bin' folder in the MySQL directory. I've seen some other weirdness as well. I'm thinking that something may have gotten mangled during the install. Is that a realistic assumption? At this this point is it better to uninstall and then reinstall MySQL? Or is there an easy fix for the MySQL Services not running problem?
My appreciation is as follows::
To be able to use mysql workbench, you have to download a program to run on localhost, these can be Xamp, Wamp, among others.This is the interface of Xampp
After installing any of these programs, you start the mysql service that appears in these programs.Connection from Mysql to localhost
Once the service starts, open your mysql workbench and connect to the localhost.
Finally, create your tables and do your queries in the workbench or in the mysql provided by PhpMyAdmin.
I hope it will be a great help.

MySQL server not started after installed Apache Cassandra

I am trying to work with multiple database with single project. I have successfully integrated my project with MySQL database, but after installing Cassandra (by DataStax 3.9.0) I face problem to connect with MySQL database.
I got error
can't connect to MySQL server on '127.0.0.1' (10061)
I have reverted the process and uninstalled Cassandra but there are same issue at time of starting MySQL. Also in the Services TAB in Control Panel, I do not get any option to start MYSQL Service Manually and the Startup type is "Automatic".
Please check if mysql database is already running or not.If running you can stop start with the database you want to work.

MySQL Workbench incompatible/nonstandard server

I am new to using MySQL and I needed to download it for school, however, I keep getting this error message (picture below). I am using xampp and connecting using the username root. the port also matches what it is telling me. It will let me proceed but a lot of the features are missing. Any help at all would be appreciated.
Incompatible/nonstandard server version or connection protocol
detected (10.0.10).
A connection to this database can be established but some MySQL
Workbench features may not work properly since the database is not
fully compatible with the supported versions of MySQL.
MySQL Workbench is developed and tested for MySQL Server versions 5.1,
5.5, 5.6 and 5.7
As I can see, You are using latest XAMPP.
All you need to do is, after opening MySQL Workbench, and instead of setting up a new connection, Press CTRL+R or click on DATABASE tab in the top menu. Select Reverse Engineer and provide necessary information. You are good to go now.
The MySql workbench wont crash or show any compatibility issue now.
The current version of XAMPP uses MariaDB instead of MySQL.
Because MySQL Workbench is designed to work with MySQL and not with the very similar drop in replacement MariaDB, you are gonna have problems ...
So, if you want to use MySQL Workbench with XAMPP then a solution would be to try installing the last version of XAMPP that uses MySQL. That version is probably 1.8.3 from (August of 2014?). You can download it here:
XAMPP Sourceforge old versions
If you are using the latest XAMPP that uses MariaDB, in that case in your MySQL Workbench don't use 'Connect to Database' instead use 'Reverse Engineer' and provide the necessary credentials. That's all, No hassle.
I encounter the same message followed by a crash of MySQL Workbench, with version 6.3.7 (build 1199).
I didn't find a solution, but here is a work-around:
Once you press the button Continue anyway, just open a database use toto, and then wait a bit (a minute is enough in my case), and then you can call a query without a crash. I found this trick here.
I experimented the same with WAMP 3.2.0.
MariaDB was configured to listen to port 3306 (the usal MySQL port) and MySQL 8 was listening on port 3308. If you are in this case, don't be fooled by the fact you have 2 DBs.
To solve this, you have to choose the DB you want. I wanted MySQL and I just ask MySQLWorkBench to open a connection on port 3308 to MySQL.
You can ditch MySQL Workbench, and use the browser made for the MariaDB, they have a free version here: https://www.upscene.com/downloads/dbw
It's limited in its abilities, but I had no troubles connecting and browsing.
I had the similar problem because i was using Denwer at the same time.
To solve the problem:
Stop Denwer
Restart MySQL server
Profit! Now you can open your database in the Workbench
The idea is that denwer was starting its local server which didnt allow MySQL to start normally.
If you want to use denwer at the same time wth MySQL you can just start it after MySQL (Point 4).
In my case I already had MySql server and workbench installed and setup prior to my XAMPP installation. I wanted to continue with my existing setup.
I also installed MySql server with my XAMPP. I started mysql inside XAMPP and when I connected to MySql Workbench, I encountered the same error. Because Workbench was trying to connect with the server which was installed with XAMPP, apparently this was incompatible.
So I stopped mysql in XAMPP and started started mysql server manually(the previous setup and installed server).
Refer this to know how to start mysql manually in windows.
You can also config XAMPP to use your existing SqlServer.
So I had the same problem. For me none of the methods worked, but then I found out that my MariaDB was occupying the same port, so I uninstalled it and that solved the problem.
i had same issue, i changed the mysql server port from 3306 to 3308 in XAMPP config file.
[mysqld]
port=3308

Does MySQLWorkbench include MySQL server?

My aim is to create some simple tables in MySQL via a GUI similar to SQL Server Management Studio. In order to do this I found and installed MySQL Workbench.
I am following this tutorial:
http://dev.mysql.com/doc/workbench/en/wb-getting-started-tutorial-admin.html
but on step 5 I get an error message saying cannot connect to MySQL server.
Am I supposed to have something else installed before I can use MySQL Workbench? I have assumed Workbench includes everything I need....
You will need to install MySQL yourself. You can download it individually or using a tool like WAMPserver which makes the process of installing and configuring ridiculously easy.
You will need a server. SO you can goto start->mysql folder->mysql Installer.
After that a Mysql Installer form will open. Click on ADD. You will see a list of
products. Select Server(x86 or x64) based on your machine and follow instructions
provided.Once you have downloaded, set admin password. Now you can create your instance in workbench. If server is not running, run services.msc and start MySQL
service.