﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>P Squared Community Forum / Myriad / Q-NXT / OCP / Audiowall Category / Myriad / QNXT / OCP / Audiowall FAQs / Product Forums  / Compress / Repair a Database in Myriad v3 / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>P Squared Community Forum</description><link>http://forum.psquared.net/</link><webMaster>forums@psquared.net</webMaster><lastBuildDate>Wed, 07 Jan 2009 03:56:58 GMT</lastBuildDate><ttl>20</ttl><item><title>Compress / Repair a Database in Myriad v3</title><link>http://forum.psquared.net/Topic2728-10-1.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;Myriad v3 uses two key databases, the Station Database (which contains settings and the Schedule Log) and the P Squared Directory database (which contains User settings and information). In both cases, seeing this error will be rare as Myriad automatically compacts and validates both databases each time it starts up. &lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;That said databases can from time to time become damaged by a PC not shutting down correctly or even a hardware error or fault, also if the system has been running reliably and you have not had need to close Myriad, databases can grow in size and become slower in their operation&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;The important thing to remember is that the damaged database is not the end of the world and you should be able to recover the database using the steps outlined below.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;H3 style="MARGIN: 12pt 0cm 3pt"&gt;&lt;A name=_Toc144722375&gt;&lt;FONT face=Arial color=#000000&gt;Repairing a Damaged or Corrupted Database&lt;/FONT&gt;&lt;/A&gt;&lt;/H3&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;OL style="MARGIN-TOP: 0cm" type=1&gt;&lt;LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face=Arial&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;TAKE A BACKUP OF YOUR DATABASE FIRST. &lt;/B&gt;It may seem like it is a little late but it is better to have a backup of a corrupted database that P Squared may be able to repair, than to not have a database at all. There are two databases in Myriad v3 that you may have to repair; they are the Station Database and the P Squared Directory Database. The default location for each database is shown below but keep in mind that the location of these databases is a configuration option so your system may be configured differently.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;FONT face=Arial&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold"&gt;Database&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;: Station &lt;SPAN style="mso-bidi-font-weight: bold"&gt;Database&lt;/SPAN&gt; - (previously known as Q-NXT) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;Default Folder: D:\Myriad\System\Schedule &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;Default File Name: Myriad3.mdb &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;FONT face=Arial&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;Assuming your Myriad Data Location is set to D:\Myriad\System (see Settings Menu &amp;gt; Myriad Settings &amp;gt; Data Location&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold"&gt;Database&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;: P Squared Contacts and Users Directory (previously Users) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;Default Folder: D:\Directory &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;Default File Name: Directory.mdb&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;&lt;FONT face=Arial&gt;Assuming your P Squared Directory Location is set to D:\Directory (see Settings Menu &amp;gt; P Squared Directory Settings &amp;gt; Path)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;SPAN class=postbody1&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; mso-bidi-font-family: Arial"&gt;&lt;FONT face=Arial&gt;To take a backup of either of these files, use My Computer to browse to the appropriate location and then simply copy the .MDB file to a backup location just in case something goes wrong.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;OL style="MARGIN-TOP: 0cm" type=1 start=2&gt;&lt;LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;Next you need to make sure that you quit from Myriad on &lt;B style="mso-bidi-font-weight: normal"&gt;ALL THE WORKSTATIONS &lt;/B&gt;at your station. This includes all studios, any office machines with Myriad installed and playout workstations. If Myriad is left running anywhere on your system then the repair will not be able to be performed and potentially you could further damage the database you are trying to repair. Also, if you are repairing the P Squared Directory you will also have to shut down any Scoop workstations (including Scoop Capture) any AutoTrack or AutoTrack Pro workstations and any copies of Powerlog Client that you are running. In all cases, you just have to quit the P Squared application, shutting down the box will not be necessary.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;Next, run the Myriad Emergency Recovery Utility (Start &amp;gt; Programs &amp;gt; P Squared Myriad v3 &amp;gt; Utilities &amp;gt; Emergency Recovery Utility.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;You will be warned that you should only use this utility if you are unable to use Myriad to make changes to your setup. In this case, the corrupted database may well be preventing you from accessing Myriad. &lt;/FONT&gt;&lt;FONT face=Arial color=#000000 size=3&gt;Click on the Yes button to continue to the Emergency Recovery Utility.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;Next click on the Repair Database button.&lt;/FONT&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;Use the Browse for File window to browse to the location of the database that you want to repair. Once the database you want to repair is selected, click on the Open button.&lt;/FONT&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;You will be asked to confirm that you want to repair / compact the selected database.&lt;/FONT&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; Click on Yes to Continue&lt;/FONT&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;You will next get a warning that applications that use the database must not be running on any PC in the building. Remember that the P Squared Directory is also used by Scoop, AutoTrack, AutoTrack Pro and Powerlog Client so they will all have to be shut down also. &lt;/FONT&gt;&lt;FONT face=Arial color=#000000 size=3&gt;Click on the Yes button to proceed.&lt;/FONT&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;Myriad will then compact and repair the selected database. This can take anything from a couple of seconds to several minutes during which time the computer may appear to have stopped responding. Please be patient as Myriad will inform you when process has been completed.&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face=Arial color=#000000 size=3&gt;Myriad will also create its own backup which you can delete later when you are happy that everything is OK but it is better to have your own backup anyway. &lt;/FONT&gt;&lt;FONT face=Arial color=#000000 size=3&gt;If Myriad reports a problem with this process then the best thing to do is contact P Squared Technical Support (&lt;/FONT&gt;&lt;A href="mailto:support@psquared.net"&gt;&lt;FONT face=Arial size=3&gt;support@psquared.net&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial color=#000000 size=3&gt;) as soon as possible.&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;OL style="MARGIN-TOP: 0cm" type=1 start=10&gt;&lt;LI class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face=Arial&gt;&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;You should now be able to close the Emergency Recovery Utility and go back in to Myriad (Scoop, AutoTrack etc) as normal.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Arial color=#000000 size=3&gt; &lt;/FONT&gt;&lt;/o:p&gt;</description><pubDate>Fri, 25 Jul 2008 11:06:06 GMT</pubDate><dc:creator>David Boulton</dc:creator></item></channel></rss>