Upgrading MySQL from 32-bit to 64-bit



Similar documents
ilaw Installation Procedure

QUANTIFY INSTALLATION GUIDE

There are numerous ways to access monitors:

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Migrating MSDE to Microsoft SQL 2008 R2 Express

Installation Guidelines (MySQL database & Archivists Toolkit client)

Install SQL Server 2014 Express Edition

How To Install And Set Up The Database For Quicdoc And Office Therapy (The Applications)

System Administrative Manual

Video Administration Backup and Restore Procedures

You may have been given a download link on your trial software . Use this link to download the software.

Installing SQL Express. For CribMaster 9.2 and Later

TANDBERG MANAGEMENT SUITE 10.0

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

JAMF Software Server Installation Guide for Windows. Version 8.6

BACKUP UTILITY FOR TIMEFORCE

Install MS SQL Server 2012 Express Edition

Moving PCLaw Data to Another Location (For LexisNexis PCLaw TM version 8.20 and higher)

Upgrade ProTracker Advantage Access database to a SQL database

Desktop Deployment Guide ARGUS Enterprise /29/2015 ARGUS Software An Altus Group Company

ESET REMOTE ADMINISTRATOR. Migration guide

How to Copy A SQL Database SQL Server Express (Making a History Company)

MODEM AND DIAL-UP. Installation/Configuration (Windows 95/98/Me/NT/2000/XP)

EventSentry Overview. Part I Introduction 1 Part II Setting up SQL 2008 R2 Express 2. Part III Setting up IIS 9. Part IV Installing EventSentry 11

Technical Bulletin. SQL Express Backup Utility

BSDI Advanced Fitness & Wellness Software

How to Install MediaWiki on Windows Server 2003

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

How To Install Amyshelf On Windows 2000 Or Later

Upgrade Guide BES12. Version 12.1

StoreGrid Backup Server With MySQL As Backend Database:

Reference and Troubleshooting: FTP, IIS, and Firewall Information

Launch Create Store. Import Orders Enter Orders Manually Process Orders. Note: Ctrl+click on a number to jump to that topic.

Guide to Installing BBL Crystal MIND on Windows 7

webkpi SaaS ETL Connector Installation & Configuration Guide

Lenovo Online Data Backup User Guide Version

Ajera 7 Installation Guide

TN Installing PV4E 6.0 under Windows Server 2008 (R2) (3264 Bit) and Remote DB Support

Table of Contents. CHAPTER 1 About This Guide CHAPTER 2 Introduction CHAPTER 3 Database Backup and Restoration... 15

E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide. E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide

Server Installation: ServerTools

Upgrading from MSDE to SQL Server 2005 Express Edition with Advanced Services SP2

NETGATE Data Backup. User Manual. Document version 1. 1 EN ( ) Copyright (c) 2010 NETGATE Technologies s.r.o. All rights reserved.

Point of Sale 2015 Enterprise. Installation Guide

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

JAMF Software Server Installation Guide for Linux. Version 8.6

STIDistrict Server Replacement

System Administration Training Guide. S100 Installation and Site Management

BSDI Advanced Fitness & Wellness Software

InventoryControl for use with QuoteWerks Quick Start Guide

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

a) Network connection problems (check these for existing installations)

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

Figure 1: Restore Tab

Cox Business Premium Online Backup USER'S GUIDE. Cox Business VERSION 1.0

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

FTP, IIS, and Firewall Reference and Troubleshooting

Upgrading LytecMD from to 9.4 on Windows Server Best Practices. Revision Date: 7/29/2010 PLEASE READ:

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

How to Install Multiple Monitoring Agents on a Microsoft Operating System. Version StoneGate Firewall/VPN 2.6 and SMC 3.2

CONSOLEWORKS WINDOWS EVENT FORWARDER START-UP GUIDE

PLEASE NOTE: The client data used in these manuals is purely fictional.

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

Topaz Installation Sheet

Team Foundation Server 2012 Installation Guide

NovaBACKUP xsp Version 15.0 Upgrade Guide

INSTALL AND CONFIGURATION GUIDE. Atlas 5.1 for Microsoft Dynamics AX

ilaw Server Migration Guide

Linko Software Express Edition Typical Installation Guide

Installation instructions for MERLIN Dashboard

Aradial Installation Guide

Sophos Anti-Virus for NetApp Storage Systems startup guide

Table of Contents. Table of Contents

Enterprise Surveillance Manager. Version 5.3 System Administrator s Manual

Installation Manual Version 8.5 (w/sql Server 2005)

Juris Installation / Upgrade Guide

VPN Remote Access Installation and Configuration Guide Operating System: Windows (XP, Vista, 7 and 8)

How To Use Senior Systems Cloud Services

Sage Peachtree Installation Instructions

Trend Micro TM Worry-Free Business Security Services Integration with LabTech

Online Backup - Installation and Setup

Installation Instruction STATISTICA Enterprise Small Business

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

CODESOFT Installation Scenarios

Magaya Software Installation Guide

How To Restore Your Data On A Backup By Mozy (Windows) On A Pc Or Macbook Or Macintosh (Windows 2) On Your Computer Or Mac) On An Pc Or Ipad (Windows 3) On Pc Or Pc Or Micro

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

Sharp Remote Device Manager (SRDM) Server Software Setup Guide

How to Install CS OrthoTrac on a New Server and Copy the Data from the Old Server to the New Version 12 and higher

Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide

Browser Client 2.0 Admin Guide

GUARD1 PLUS SE Administrator's Manual

Quickstart Guide. First Edition, Published September Remote Administrator / NOD32 Antivirus 4 Business Edition

WhatsUp Gold v16.1 Database Migration and Management Guide Learn how to migrate a WhatsUp Gold database from Microsoft SQL Server 2008 R2 Express

Configuring a Custom Load Evaluator Use the XenApp1 virtual machine, logged on as the XenApp\administrator user for this task.

Secret Server Installation Windows 8 / 8.1 and Windows Server 2012 / R2

SecureAware on IIS8 on Windows Server 2008/- 12 R2-64bit

Sage 200 Web Time & Expenses Guide

Transcription:

Upgrading MySQL from 32-bit to 64-bit UPGRADING MYSQL FROM 32-BIT TO 64-BIT... 1 Overview... 1 Upgrading MySQL from 32-bit to 64-bit... 1 Document Revision History... 21 Overview This document will walk you through upgrading your MySQL from 32-bit to 64-bit. IMPORTANT: FOLLOW THESE INSTRUCTIONS VERY CLOSELY. If these instructions are not followed, you run the risk of damaging your server! Upgrading MySQL from 32-bit to 64-bit The following should be done on the LabTech server, NOT on a workstation. 1. Download the latest version of SQLyog. 2. Once installed, double-click on the SQLyog icon to launch. 3. Click on New to create new connection. 4. Enter the name of the connection and click OK. 5. Enter localhost in the MySQL Host Address. 6. Enter your LabTech Super Admin Username and Password. 7. Leave the Database(s) field blank. 8. All other fields can be left at their default. Your screen should look similar to the following: 17.51.155.UpgradingMySQL.docx 1

Upgrading MySQL from 32-bit to 64-bit Figure 1: Connect to MySQL 9. Click Connect. 10. Click OK to save the connection. Once successfully connected, the LabTech database is available. 11. Connect to the LabTech database, if not already connected. 12. Select Database > Backup/Export > Backup Database As SQL Dump Figure 2: Backup Database As SQL Dump The SQL Dump window will display: 17.51.155.UpgradingMySQL.docx 2

Figure 3: SQL Dump 13. Choose labtech from the Database name drop-down list. 14. In the Export to file field, choose a location to export the structure and data file to. 15. Select Structure and Data. 16. Click Export. The file will be saved in the designated location with a.sql extension. When the export has completed, an Export Successfully will display in the lower left-hand corner of the SQL Dump window. 17. Click Done to close this window. Figure 4: Exported DB File 18. From your LabTech server, click Start > Administrative Tools > Services. 17.51.155.UpgradingMySQL.docx 3

Upgrading MySQL from 32-bit to 64-bit Figure 5: Services 19. Locate LabTech MySQL Service and right-click to select Stop to stop the service. 20. You will be asked to confirm other services being stopped. Figure 6: Stop Other Services 21. Click Yes to stop these other services. 22. From a command prompt, type cd c:\program Files (x86)\labtech\mysql\bin. Once at this prompt, execute the following command: mysqld.exe --remove labmysql. NOTE: Be sure to include a double hyphen preceded by a space in the above command. 17.51.155.UpgradingMySQL.docx 4

Figure 7: Command Executed You should see Service successfully removed. 23. Download and run the MySQL Server 5.5.29 (mysql-5.5.29-winx64.msi) The Setup Wizard will display: NOTE: LabTech is installed with MySQL 5.5.28a and only supports versions 5.5.xx with a minimum build of 5.5.28a. All other versions are not supported. Figure 8: SQL 64-bit Installer 24. Click Next. The license agreement will display. Select the I accept the terms in the License Agreement if you accept them and click Next. 17.51.155.UpgradingMySQL.docx 5

Upgrading MySQL from 32-bit to 64-bit Figure 9: MySQL Setup Wizard 25. Select Typical. Figure 10: Installation Settings 17.51.155.UpgradingMySQL.docx 6

26. Click Install. 27. A MySQL Enterprise and Enterprise Monitor Service informational window will display. Click Next through these two screens. Figure 11: Wizard Completed 28. Select the Launch the MySQL Instance Configuration Wizard checkbox, if not selected. 29. Click Finish to finish the installation. The MySQL Server Instance Configuration Wizard will begin. 17.51.155.UpgradingMySQL.docx 7

Upgrading MySQL from 32-bit to 64-bit Figure 12: MySQL Configuration Wizard 30. Click Next. 17.51.155.UpgradingMySQL.docx 8

Figure 13: MySQL Detailed Configuration 31. Select Detailed Configuration and click Next. Figure 14: Detailed Configuration Server Machine 17.51.155.UpgradingMySQL.docx 9

Upgrading MySQL from 32-bit to 64-bit 32. Select Server Machine and click Next. Figure 15: Configuration Transactional Database Only 33. Select Transactional Database Only and click Next. Figure 16: Configuration InnoDB Datafiles 17.51.155.UpgradingMySQL.docx 10

34. Select the settings as shown in the above screen capture and click Next. Figure 17: Configuration Online Transaction Processing 35. Select Online Transaction Processing and click Next. 17.51.155.UpgradingMySQL.docx 11

Upgrading MySQL from 32-bit to 64-bit Figure 18: Configuration Networking Options 36. Set the networking options as follows: a) Select Enable TCP/IP Networking. b) Select 3306 for the Port Number from the drop-down. c) Select Add firewall exception for this port. d) Deselect Enable Strict Mode. 37. Click Next. 17.51.155.UpgradingMySQL.docx 12

Figure 19: Configuration Default Character Set 38. Select Best Support for Multilingualism and click Next. Figure 20: Configuration Windows Options 17.51.155.UpgradingMySQL.docx 13

Upgrading MySQL from 32-bit to 64-bit 39. Configure the MySQL Server server instance, as follows: a) Select the Install as Windows Service checkbox. b) Enter LabMySQL in Service Name. c) Select the Launch the MySQL Server automatically checkbox. 40. Click Next. Figure 21: Configuration Security Settings 41. Select the Modify Security Settings checkbox. Enter your New root password and Confirm. You can find this information in your Registry Editor: HKEY_LM >SOFTWARE > Wow6432Node > LabTech > Setup, if necessary. 42. Click Next. 17.51.155.UpgradingMySQL.docx 14

Figure 22: Configuration Execute 43. Click Execute to start the configuration. Figure 23: Configuration Configuration Complete 17.51.155.UpgradingMySQL.docx 15

Upgrading MySQL from 32-bit to 64-bit 44. Once the configuration has completed, you will see checkmarks next to each step of the configuration. Click Finish to close the Wizard. 45. Go back to SQLyog. You will need to log in as root with the root password. Figure 24: Restore from SQL Dump NOTE: Depending on the version of SQLyog, the Restore From SQL Dump option may no longer be listed. In more recent versions, it has been renamed to Execute SQL Script. 46. Select Database > Import > Restore From SQL Dump or Execute SQL Script depending on your version of SQLyog. 47. Navigate to the dump file that you created earlier. Figure 25: Execute Query 48. Click Execute. At this point, you may receive an error about packet size in the error log. Steps to fix the error will follow. If you did not receive any errors, proceed to step 52. 49. Enter C:\Program Files\MySQL\MySQL Server 5.5 in your Windows Explorer. 17.51.155.UpgradingMySQL.docx 16

Figure 26: Log File 50. Right-click on the file named my. From the menu that appears, select Open with > Notepad. 17.51.155.UpgradingMySQL.docx 17

Upgrading MySQL from 32-bit to 64-bit Figure 27: Log File 51. max_allowed_packet=32m needs to be added to the my.cfg file. There is not a specific place that this needs to go in the file but we highly recommend you use the spot we show here. We have used [mysqld] (part of the pre-made file) as a reference so you see where to add the new text. 52. Save file. 53. Restart the LabMySQL service (Start > Administrative Tools > Services). 54. Click OK on the error message you originally received if you haven t and then click Execute again. 17.51.155.UpgradingMySQL.docx 18

Figure 28: Execute Query 55. Depending on the version of SQLyog you are using, you may be required to restart SQLyog before the database and tables will appear. For older versions, you should now see all the labtech database tables. Figure 29: LabTech tables 17.51.155.UpgradingMySQL.docx 19

Upgrading MySQL from 32-bit to 64-bit 56. Open the Registry Editor (click Start and enter regedit in the Search box). 57. Expand HKEY_LOCAL_MACHINE > SOFTWARE > Wow6432Node > LabTech > Agent. 58. Right-click in the right side of the window and select New > String Value. 59. Rename to SQLLOC. 60. Double-click on SQLLOC and enter the path to your MySQL server (e.g., %Programfiles%\MySQL\MySQL Server 5.5\) in the Value Data field. This is used to perform daily backups and if it is not set, there may be compatibility issues in the future when it is not set. IMPORTANT: The path must end with a backslash (\) or your backups will fail! Figure 30: Value Data 61. From your Services window on the LabTech server, start the following services: a) LabTech Database Agent b) LabTech Monitoring Service c) LabTech Monitoring Service CheckUp Util d) LabTech Redirector Figure 31: Start Services 62. Log back in to LabTech. You should see the agents starting to check back in. 63. IMPORTANT: The last step is to go your Program Files (x86)\labtech\ folder and create a new text file named OWNMYSQL.CTL. You can do this by right- 17.51.155.UpgradingMySQL.docx 20

clicking in the folder and choosing NEW > Text document. Windows, by default will append a ".txt" to the end of the file when you rename it unless you have system file extensions unhidden. You can find this option in File Explorer by going to Tools > Folder Options, then clicking on the View tab. Be sure you did not save as OWNMYSQL.CTL.TXT. This will be an empty file so you will not have to put anything in it. It just needs to be present so that the database is not corrupted when you upgrade to the next release of LabTech. NOTE: If the menu bar does not appear in Windows Explorer, press the [Alt] key for the Tools menu to display. Document Revision History Date Notes 11/11/2011 New Document 11/29/2011 Updated SQL download link 12/13/2011 Added important note for SQLLOC path. 07/05/2012 Removed root password information. Updated information for the SQLLOC registry key. 10/29/2012 Updated for MySQL version 5.5 02/11/2013 Updated MySQL link to latest version 5.5.29 02/18/2013 Added MySQL requirements 17.51.155.UpgradingMySQL.docx 21