Hello,
this is my first post, so please be patient.
I got a server which uses a mysql db; my intention was to create a local copy of the db to my pc, to do some queries and don't risk to touch the original one on the server.
So I installed MySql Workbench (the entire suite) and _somehow_ figured how to copy the db locally by using the .sql file that I had dumped on the server.
The fact is that if I launch the Workbench and connect to localhost:3306 from my Windows pc and click on Server Status it shows that I'm connected to the server!
Infact, under Server Status, Host - Socket and Version are all refering to the db on the production server. And if I do a query (even on Mysql command client) it shows the last records that can only be on the server and not on my local older copy.
So _somehow_ I made a mistake and now my local instance (127.0.0.1:3306) is pointing to the remote host; and if I drop the db on my local instance (what unfortunately I did last week...) I drop the db on the server!
My.ini seems not to hold reference to the remote db. Can someone please tell me what can be the problem and how to break this connection between my local instance and the remote production istance?
Thank you
--
rob
this is my first post, so please be patient.
I got a server which uses a mysql db; my intention was to create a local copy of the db to my pc, to do some queries and don't risk to touch the original one on the server.
So I installed MySql Workbench (the entire suite) and _somehow_ figured how to copy the db locally by using the .sql file that I had dumped on the server.
The fact is that if I launch the Workbench and connect to localhost:3306 from my Windows pc and click on Server Status it shows that I'm connected to the server!
Infact, under Server Status, Host - Socket and Version are all refering to the db on the production server. And if I do a query (even on Mysql command client) it shows the last records that can only be on the server and not on my local older copy.
So _somehow_ I made a mistake and now my local instance (127.0.0.1:3306) is pointing to the remote host; and if I drop the db on my local instance (what unfortunately I did last week...) I drop the db on the server!
My.ini seems not to hold reference to the remote db. Can someone please tell me what can be the problem and how to break this connection between my local instance and the remote production istance?
Thank you
--
rob