Running local MySQL instance + connecting to Crystal Reports - mysql

I am on Windows 7 32-bit.
I have a .SQL file database backup/dump from our relational database software/server. I need to run this locally, as our relational database is going to the cloud where ODBC connections, etc won't be permitted at first. I use this MySQL database for reporting and so I still need to connect it to Crystal Reports, but locally. I have a daily .SQL backup file I can download from an FTP site to keep it up to date.
I am attempting a local MySQL database instance now, no server just a local database that I can query from in Crystal Reports. But I am having issues.
How do I:
1. Successfully Run a local instance of MySQL on my computer.
2. Connect the instance to Crystal Reports via MySQL driver setup.
3. Perform a import + restore to bring the database copy into the live instance.
download MySQL installer here:
http://dev.mysql.com/downloads/installer/
And then I downloaded MySql WorkBench.
At workbench's connection configuration I put hostname as "127.0.0.1" ( I also attempted "localhost"), port "3306", user: "root", password is empty.
I click "test connection" and it gives me this error:
"Can't connect to MySQL server on '127.0.0.1' (10061)"
What am I missing?

Based on your posted instructions that you followed, I didn't see any mention of mysql itself being installed.
The MySQL workbench is not the actual server, but a suite of tools use to help manage it.
In the installer for MySQL you should see an option for an instance of mysql or some verbiage to that effect, if not "MySQL Server". That is what you also need to install.

Related

How can I connect my sql (workbench) to mysql server (bluehost) to activate a CRM system?

I've tried using sql workbench to connect to mysql bluehost database and then migrate the data I have in the tables to the tables on my bluehost server, so I've created a subdomain to upload the CRM zip file and install the CRM on it.
So I've tried multiple ways to connect them together, created a new IP on bluehost to connect it to the workbench but it never gets connected I am not sure why, I've tried connecting the sql workbench to the localhost, it worked but I can't get to upload the zip folder (42mb) to the localhost and install it to make the CRM work and then migrate the data of the clients and customers on the CRM database.
my workbench is now connected to my localhost (root) but it gives me connection warning, not supported even though I've tried the ctrl+R for reverse engineer database and it worked at first to create the connection but then it does not run smoothly, it is still not supported.
So I want to either be able to upload the zip file to the localhost to install the crm and then migrate the data to it, or be able to connect my bluehost server to the sql workbench I have on my pc (knowing that the CRM is already installed on my bluehost just missing the data of the clients)

How did mysql workbench get my old database?

I created database using mysql from phpmyadmin for some practice purposes. Now I've just downloaded and set up mysql workbench and right after I saw my old database which I created in phpmyadmin and that makes me wonder how did workbench get it?
Both phpMyAdmin and MySQL Workbench are administration/client tools. It is used to connect MySQL Service running on your machine / remote machine called server. (usually on port 3306).
When you create databases or store data which is stored under a folder represented as datadir which is owned by the MySQL service.
how did workbench get it?
Database is managed by MySQL Service, like a phpMyAdmin, Workbench also another client, connecting to same MySQL Service.
Similarly, you can use any other MySQL Client to connect with the same MySQL service running on your machine.
Additionally, you can refer my blog to understand more about MySQL Architecture.

How can we view the databases/tables created in phpmyadmin in the MySQL workbench schemas section?

How can we view the databases/tables created in phpmyadmin in the MySQL workbench schemas section? In my case the database created in the phpmyadmin are not reflected in workbench(v-6.3) and mysql server v-5.7.12.How can I check that the phpmyadmin used is reflecting the correct workbench.
I am running the phpmyadmin locally (XAMPP 5.6.20-0) and I am using Mac OS X El-capitan. Is the import only option copy all databases/tables created in phpmyadmin into MySQL and visa versa?Please advice
As long as MySQL Workbench and phpMyAdmin are connected to the same MySQL instance, any changes made in one program should immediately be visible from the other. You might be restricted if you're connecting as different, non-administrative users who doesn't have access to the same databases.
From each program (MySQL Workbench and phpMyAdmin), issue the STATUS; SQL command and compare the host and port or socket. If they don't match, you would seem to have more than one MySQL installed on your machine.
The fact that you have specifically mentioned installing MySQL server and XAMPP makes this highly likely; XAMPP comes with its own version of MySQL server and you should pick one to access from both client programs to minimize confusion.

MySql workbench not responding w local server

I have been using MySql Workbench to connect to a local MySql server and to remote MySql Servers. The last couple of days the Workbench freezes when I connect to the local version. It still works for the remote servers.
I am using workbench 6.3.4 and then tried 6.2.5 just to see if it is a version issue.
I also can access the local MySql instance using HeidiSQL.
Any recommendations on what to look for?
Update
The advice to recreate the connection solved the issue. I just created a new one and it works fine.
A couple of things you can try:
Try restarting the sql server (remember, workbench is just a utility for accessing a db, it does not host the database for you)
See if you can access mysql on the command prompt / terminal, the command for mac & windows
(once you navigate to the mysql folder, try the command:)
mysql -u root
(if you have a password-protected account, the command will be
mysql -u someuser -p
If the above doesn't work, mysql is either offline or denying you access (depending on response), and you'll need to setup the server / assign privileges.
If all else fails, it may help to try another version of SQL / Workbench (for a easy-to-use sql sever setup, I'd recommend WAMP or MAMP, assuming you want a HTTP server bundled with it)
Additionally, it may help to recreate the local connection in workbench (of if your getting regular crashes, reinstall & update workbench). Good luck with it.

mysql 5.6 installion and configuration on windows

i have installed MySQL server with developer default, I can connect to database with local application, How ever i am not able to connect to database from other system on the network it saying unable to reach database. I access database with root user and password
please give me steps to configure my MySQL server so that i can access database from any system in my network
You will have to create a user allowing him to connect from any host ('user'#'%') and use that user to connect to your MySQL server machine. Also, you'll have to set bind-address of your MySQL configuration to your server machine's IP.
Check the following article. Although it is for Linux environment, you can get the general idea of what is to be done.
https://rtcamp.com/tutorials/mysql/remote-access/