Restore Mysql database in Windows Azure - mysql

I'm running a wordpress blog on Windows Azure Website (free).
I've tried to create another blog and use other database. As I'm using a free mode, it denied me to create a new database, so I chose to use the same.
It didn't work and I decided to delete this second site. But now, I can't access my first site.
The error message is : "Error establishing a database connection".
Is there a way to handle this?

No.
You can't restore a deleted MySQL database. Especially in preview feature.

Actually I contacted ClearDB, because they are responsable for MySQL databases running in Azure, and they restored my DB.

Related

How to sync MS SQL Server of Azure Portal with WordPress Database?

I want to establish 2 way sync between MS SQL Database with WordPress Mysql Database. I even tried to use Workbench or Microsoft SQL Server Migration Assistant for MySQL. But nothing worked. Every time i get some "Connection to MySQL Failed" Error.
I have even tried all option i have seen online but noting worked.
You have to tell us more about what you are trying to do.
As far as I can tell yo have 2 options:
Use PolyBase: Which is very impractical, close to retirement, lacking in documentation, and personally I wasn't able to install it not even once.
Use Linked Servers: As I posted in the reply you can follow the step by step guide and create a linked server to MySQL. From there you can query the linked server and eventually create a stored procedure that import/export data but forget about an on-time sync
Azure Data Factory: If you are on Azure SQL Database you can setup Azure Data Factory and create a pipeline for sync data. Or eventually use SSIS if you are on prem.

Sync Microsoft Access Database on a local network with a MySQL database on a web server

I'm a front-end web developer trying to devise a solution to sync a Microsoft Access Database on a local network with a MySQL database on a web server. I ran across some software that might perform this however it looks complicated to maintain and seems like it could be an additional point of failure.
There is also a way MS Access can use an ODBC to an external MySQL database. https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-examples-tools-with-access-linked-tables....
If the ODBC connection to the external MySQL database works, is there a way to sync an external DB table with a local DB table so when a change occurs with one it's pushed to the other?
Or is there another recommendation to handle this process?
Thank you.

How to recover deleted mysql database

I have a mysql workbench on my server and today I checked just my all schemas are deleted resulting in halt of other application.I am confused how it has happened.Is there a way to check who has last connected to my workbench as few ppl have its access and how can I recover the lost database or there could be another reason for lost of all databases
MySQL Workbench is a client tool. If you installed it on a database server, then perhaps you should be checking who was logged on to the db server and that will be appropriately logged by the O/S. You might also want to review your security policy because it sounds like you might be sharing passwords and review which user accounts have DROP privilege on the databases.
Your databases might not show in Workbench if the connection is not properly configured (but the applications not working would suggest otherwise).

How can I copy a table from one database to another on the same server without shell (command line) access?

I do not use the Shell interface.
I have my own shared Linux server at SoftLayer with WHM and CPanel for my two joomla website installations.
I would like to start migrating populated tables from the old site to the new one.
BUT I don't know how to use shell access, and I prefer a graphical interface anyway.
I am working on installed extensions one at a time.
I saw a mention about MySQL Workbench 6.0.7
http://dev.mysql.com/downloads/tools/workbench/
but am unsure of it's operation on my server.
Any insight on making this task easier or more foolproof would be appreciated.
Export your tables from PHPMyAdmin on your cpanel, then import them to your new server via PHPMyAdmin too.

TeamCity won't create its schema in SQL Server

I've installed a new TeamCity instance and just moved from internal storage to database (SQL Server). Followed the instructions at http://confluence.jetbrains.com/display/TCD7/Setting+up+an+External+Database and I know I've done the database part correctly as it wouldn't initially connect and I had to go back and turn on TCP/IP connections for SQL Server.
From the documentation I assumed that team city would create and maintain it's own database schema, but even though it's user is dbo the database remains blank - no tables, views or any other objects have been created.
When I try to connect to it in a browser I get "Database is empty or doesn't exist", and viewing the logs shows me "Schema contains no tables". I've obviously restarted the service and connected again each time.
Is there an install script I am missing? How do I get TeamCity to install it's schema?
When you are doing it like this, you will need to migrate the initial structure over to sql server. See here