Межсерверный перенос данных Перенос данных между серверами с помощью специализированных утилит.
Для переноса данных больших размеров с сервера, например с MS SQL на MYSQL или в другой формат в графическом режиме можно использовать специализированные утилиты. Некоторые из них: Navicat — Для полноценной работы необходима лицензия. DBSync for MsSQL & MySQL — Для полноценной работы необходима лицензия. SypexDumper – работа с web страниц. Свободна распространяемая. Для работы в ней необходим web сервер. phpMyAdmin – работа с web страниц. Для работы в ней необходим web сервер. Для переноса больших размеров данных необходимо настроить конфигурацию минимальный размер 10.240 kb. MySQL-Front – русскоязычный интерфейс для полноценной работы необходима лицензия. Для переноса данных используется экспорт, и импорт данных предварительно создаётся база данных, в которую после переносятся таблицы.
Подробней остановимся на утилите MySQL Migration Toolkit. Переносит данные более корректно и быстро, нет проблем с переносом ключей, индексов, нет необходимости устанавливать ODBC драйвера. Дистрибутив входит в состав mysql gui tools. Если возникают проблемы с подключением к MS SQL, утилита должна быть установлена на этом же ПК, это связано с безопасностью SQL сервера. Также необходимо чтобы бала установлена Java иначе не будет работать. Утилита сама создаёт базу данных, но к названию добавляет dbo. Для переименования базы данных можно воспользоваться MySQL Administrator, она также входит в состав mysql gui tools, создав дамп, а затем восстановив его в базе с подходящим названием. Основы администрирования MYSQL.
Межсерверный перенос средствами MySql Migration Toolkit
Предварительно устанавливаем утилиту mysql-gui-tools. В меню пуск, все программы находим ярлык MYSQL и запускаем программу.
Запускаем утилиту и пошагово водим требуемые значения. Выбираем, с какого сервера будут копироваться данные, в примере выберем подключения к MS SQL Server. Вносим данные имя сервера, если установлен на этом же ПК пишем localhost, имя пользователя по умолчанию администратор sa, если есть пароль, в поле database имя базы данных для просмотра щелкаем на кнопке рядом с полем.

Если MYSQL установлен на другом ПК. В настройках сервера разрешаем Enable root access from remove machines — доступа с удаленного компьютера. Запускаем Reconfigure Instance и устанавливаем галочку. Далее в следующем окне MySQL Migration Toolkit подключаемся к серверу MYSQL. В поле Hostname IP адрес, имя пользователя, по умолчанию администратор root и пароль.

В MySQL Migration Toolkit есть Help с подробным описанием всех настроек программы. Если возникают трудности в выборе необходимых настроек, не открывайте функцию дополнительных значений, они по умолчанию настроены как необходимо. Можете использовать следующий метод:
Как связать Access с MySQL
В статье рассказывается как связать MS Access с базой данных MySQL, чтобы данные хранились не в файле mdb, а в таблицах MySQL.
1) Нужно поставить MySQL сервер, скачав по адресу mysql.com. Ставится легко, главное указать пароль к серверу и не забыть его.
2) Нужно установить ODBC driver, скачав по адресу mysql.com. Без него Access не сможет подключаться к MySQL.

3) Access умеет работать со связанными (linked) таблица, но они уже должны быть уже созданы! На рисунке видно что создана база данных (database) my_access с таблицей mytable1. В mytable1 созданы 2 поля id и FIO для примера. Создавать базу данных и таблицы можно любым доступным способом, я использовал MySQL Query Browser из mysql-gui-tools-5.0-r17-win32.msi. Этот этап называется проектированием базы данных и тут подробно расписывать не буду, это отдельная история. Смысл один! Нужно создать базу данных и нужные таблицы с нужными полями.

4) Создание связей. Запустите Access и в нем создайте базу данных и сохранитесь. Не создавайте таблиц и что либо. Откройте меню Файл — Внешние данные — Связь с таблицами. В окне связь укажите ODBC Databases () как на рисунке

5) В появившемся окне Выбор источника данных переключитесь на закладку Источник данных компьютера и нажмите кнопку Создать. Выберите MySQL ODBC Driver как на рисунке.

6) В окне от MySQL заполните поля Data Source Name, укажите Server — в это поле нужно вписать адрес сервера в сети, если Access и MySQL находятся на одном компьютере, то можно вписать localhost (это адрес 127.0.0.1). Если MySQL находится на другом компьютере, то нужно указать адрес того компьютера, для этого понадобится помощь администратора сети и/или баз данных. Укажите User и Password, Имя и Пароль для доступа к базам данных, эти данные должны быть запомнены при установке MySQL или выданы администратором. Обязательно укажите к какой базе данных подсоединятся (на примере my_access созданная на этапе 3. Нажмите кнопку Test для проверки правильности подключения, ответ должен быть успешным Connection successful.
7) После указания параметров подключения вы вернетесь на этап Выбор источника данных. Выберите только что созданное соединение с MySQL (у меня это access2mysql), укажите таблицы для связи.

8) Можно работать со связанными таблицами как с обычными, только данные будут хранится не в файле mdb, а в базе данных MySQL. На рисунке показано, что введённые в таблицу mytable1 в Access, хранятся в MySQL и это показывает MySQL Query Browser
How to Link an Access Database to SQL Server in Access 2016
You can store data in a SQL Server database, then link to SQL Server from Access 2016 in order to run queries, reports, and even insert/update data.
Linking to a SQL Server database from Access is not much different to creating a linked table to a backend Access database.
SQL Server is a more robust database management system than Access. However, Access does have certain advantages over SQL Server, like being able to create forms and reports easily — even within a single click.
Also, if users are well trained in Access but not SQL Server, and there’s no plan to retrain them to use SQL Server, using Access as the frontend and SQL Server as the backend can make a lot of sense.
Below is a step-by-step guide to linking to SQL Server from Access 2016 (and creating a new data source file in the process).
Launch the Import/Link Wizard
Click ODBC Database in the Import & Link group from the External Data tab on the Ribbon.
You can start from an existing Access database, or you can create a blank database first.
Select the «Link» Option
Select Link to the data source by creating a linked table , then click OK .
Select the Data Source
This screen is asking for a data source. You can either create a new data source, or provide the details of an existing one.
If you already have a data source for SQL Server, skip to step 12.
Otherwise, you will need to create a data source here.
For this example, we will create a new data source.
To create a data source, click New. .
Select a Driver
Select SQL Server from the list of drivers, then click Next > .
The following steps may differ slightly, depending on the software installed on your machine.
Enter the Data Source Name
Type the name of the data source you’d like to save the connection to (or browse to a location using the Browse. button), then click Next > .
Create the Data Source you just Configured
Review the information and click Finish .
The «Create a New Data Source to SQL Server» Wizard
We’re not quite finished yet though. We still need to provide some extra details for our connection to SQL Server.
Provide a description for your data source, select the SQL Server that you’d like to connect to, then click Next > .
If the database is on the same server you can select (local) .
Choose an Authentication Method
Select either Windows NT authentication or SQL Server authentication , then click Next > .
Client Configuration
Click Client Configuration if you want the connection to use a network library other than the client’s default network library.
Also use this option if the actual network address of the server must be specified for a successful connection. For example, when using the TCP/IP Net-Library, you might need to specify the port and socket address of the server. If a SQL Server instance is listening on an alternate named pipe, you must specify the pipe name in the advanced entry.
Set the Default Database
Change the default database to the actual database that contains the tables/views you want to link to.
Change any other settings if required.
When ANSI quoted identifiers is selected, SQL Server enforces ANSI rules regarding quote marks. Double quotes can only be used for identifiers, such as column and table names. Character strings must be enclosed in single quotes.
Selecting ANSI nulls, paddings, and warnings specifies that the ANSI_NULLS , ANSI_WARNINGS , and ANSI_PADDINGS options be set on when the SQL Server driver connects.
ANSI_NULLS requires that IS NULL or IS NOT NULL is used for all NULL comparisons. The Transact-SQL syntax = NULL is not supported.
ANSI_WARNINGS specifies that SQL Server issues warning messages for conditions that violate ANSI rules but do not violate the rules of Transact-SQL.
ANSI_PADDING specifies that trailing blanks on varchar values and trailing zeroes on varbinary values are not automatically trimmed.
Specify any Extra Options
Modify any settings as required, then click Finish .
Review the ODBC Data Source Settings
Review the summary, then click OK .
You can (optionally) click Test Data Source. first to check to see if it’s going to work.
Select Data Source
We’re now back at the original dialog box that asks us to select a data source.
We now have a DSN file so we can continue on and connect to SQL Server.
Ensure that the DSN file’s folder is selected next to Look in and the DSN file is entered next to DSN Name , then click OK .
Select which Tables/Views to add to Access
The wizard displays the tables and views from SQL Server so that you can select the ones you require.
Select all tables and/or views that you want to be able to use from within Access, then click OK .
Linked views will appear as linked tables in Access. They appear under the Tables node just as all other tables do.
You can also open them in Design View and review their fields, data types, properties, etc.
Select Unique Identifier
You will only see this dialog box if Access was unable to determine which field/s are the unique identifier for the table or view.
Select the field/s that uniquely identify each record, then click OK .
This step will set the selected fields as primary keys in Access. You can verify this by viewing the table in Design View later.
The Linked Tables
The linked tables now appear in the left Navigation Pane.
You can always identify a linked table by the little arrow icon to its left. Also, the SQL Server tables use a globe icon, which is different to the table icon used for a linked Access table.
The dbo_ prefix represents the schema name from the SQL Server database. In SQL Server, this would be represented by dbo. (for example, dbo.Artists .
Not all tables will necessarily belong to the dbo schema, so your tables may include a different prefix, depending on the schema that each table belongs to in SQL Server
You can now open the linked tables in Datasheet View, and update the data as required. Any data updates you do in Access are updated in the SQL Server database. Likewise, any updates done from within SQL Server are also reflected in your linked tables in Access.
You can also open the linked tables in Design View, but you won’t be able to change the design. Any design changes need to be done to the source database.
About the SQL Server Database in the Above Example
The above example links to a SQL Server database that was created using this SQL Server tutorial.
Как подключить бд sql к access
This site https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-examples-tools-with-access-linked-tables.html is experiencing technical difficulty. We are aware of the issue and are working as quick as possible to correct the issue.
We apologize for any inconvenience this may have caused.
To speak with an Oracle sales representative: 1.800.ORACLE1.
To contact Oracle Corporate Headquarters from anywhere in the world: 1.650.506.7000.