Hi
I am moving from a win xp to a win 7 pro system. But I need some help regarding the MySQL backup process.
Is this the correct order?
1. Make sure the the GpsGateServer is updated on old system v.4
2. Run this command on old system "C:\Programfiler\MySQL\MySQL Server 5.5\bin\mysqldump.exe" --database GpsGateServer --single-transaction -h localhost -pXXXXXXXX -u root > C:\backups\GpsGateServer.mysqldump
2. Backup "Deploy" "Franson NMEA Service" "IIS" according to this guide >
topic.asp?TOPIC_ID=13322
3. Run GpsGateServer.exe on new server
4. Canceling the wizard when it starts
5. Deleting the following folders (Deploy, Franson NMEA Service, IIS)
- C:\GpsGateInstall\GpsGateServer\Deploy
- C:\GpsGateInstall\GpsGateServer\Franson NMEA Service
- C:\GpsGateInstall\GpsGateServer\IIS
6. Copy my old Deploy, Franson NMEA Service, IIS to the following folder
- C:\GpsGateInstall\GpsGateServer
7. Run C:\GpsGateInstall\Install.exe on your new server.
During install the GpsGateServer is preselected database like in the videos below. However under Choose/Create DSN, IIS express? is showed NOT GpsGateServer.
Ref. 3m.50s into this video >
https://www.youtube.com/watch?v=jPQgCJfbLNw
Is this the correct method? and WHEN in the process do I run the RESTORE command:
"C:\Program Files\MySQL\MySQL Server 5.1\bin\mysql.exe" --database GpsGateServer -h localhost -ppassword -u root < C:\backups\GpsGateServer.mysqldump
I am not a pro in SQL, so my first thought was that when I run the backup command. a file named GpsGateServer.mysqldump was automaticly created under C:\backups\ but there was no file there.
I tried the process on the new machine (withouth updating the GpsGateServer on the old one) and all went ok to the "Click Next to start NMEA Service" on GpsGateServer login screen, I got this error>
Server Error in '/GpsGateServer' Application.
ERROR [42S02] [MySQL][ODBC 5.1 Driver][mysqld-5.5.20]Table
'gpsgateserver.settings_settings_category' doesn't exist
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Data.Odbc.OdbcException: ERROR [42S02]
[MySQL][ODBC 5.1 Driver][mysqld-5.5.20]Table
'gpsgateserver.settings_settings_category' doesn't exist
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[OdbcException (0x80131937): ERROR [42S02] [MySQL][ODBC 5.1
Driver][mysqld-5.5.20]Table 'gpsgateserver.settings_settings_category'
doesn't exist]
Franson.DAO.DAOConnector.RetryConnect(Exception ex, Boolean bThrow) +301
Franson.DAO.DAOBase.AddTable(String strTableName) +290
Franson.Directory.DAO.SettingsDAOSQL..ctor() +46
Franson.Directory.DAO.SiteSettingsDAOSQL..ctor() +15
Franson.Directory.DAO.DirMySQLDAOFactory.GetSiteSettingsDAO() +20
Franson.Directory.SiteSettings..ctor() +28
Franson.Directory.SettingsManager.GetSiteSettings() +146
Franson.Web.UI.PageBase.AddClientContextScript() +100
GpsGate.SiteAdmin.WebUI.Index.Page_Load(Object sender, EventArgs e) +601
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,
EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
Franson.Web.UI.PageBase.OnLoad(EventArgs e) +4
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
All help is much appreciated, Thx!
Jonas