﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="https://www.w3.org/2005/Atom">
  <channel>
    <title>Newest KB Articles in Database Management</title>
    <description>Recent additions to the knowledge base from DiscountASP.NET</description>
    <link>https://kb.discountasp.net/kb/c299/database-management.aspx</link>
    <pubDate>Wed, 10 Jun 2026 08:03:08 GMT</pubDate>
    <generator>SmarterTrack Enterprise 100.0.9553</generator>
    <atom:link href="https://kb.discountasp.net/RSS.ashx?catid=299&amp;type=newestkbarticles" rel="self" type="application/rss+xml" />
    <item>
      <title>MS SQL Manager</title>
      <link>https://kb.discountasp.net/kb/a171/ms-sql-manager.aspx</link>
      <pubDate>Thu, 13 Nov 2008 23:04:29 GMT</pubDate>
      <guid isPermaLink="false">kbarticle171</guid>
      <description>&lt;div&gt;This tab contains identifying and usage information for your database. &amp;nbsp;If you have multiple databases associated with your account, you can select the relevant database from the &amp;quot;SQL Database&amp;quot; dropdown menu.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Database Information&lt;/strong&gt;&lt;br&gt;&lt;br&gt;In addition to the Server Name, Database Name, Database Space (storage quota), Database Login and SQL Usage Meter, you will see a sample connection string that contains the information needed to connect to your database from a script or application. &amp;nbsp;Simply replace &amp;quot;******&amp;quot; with your actual password in the connection string.&lt;br&gt;&lt;br&gt;By default your database password is the same as your Control Panel password. &amp;nbsp;You can change the password in the &amp;quot;Login Manager&amp;quot; tab.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Login Manager&lt;/strong&gt;&lt;br&gt;&lt;br&gt;In addition to the default user created when you set up the database, you can create 3 additional database users. &amp;nbsp;Simply enter the login name and password under &amp;quot;Add a new MS SQL #### Login.&amp;quot;&lt;br&gt;&lt;br&gt;&lt;strong&gt;Note&lt;/strong&gt;: All SQL usernames must be unique. &amp;nbsp;All additional SQL Logins that are created in SQL Login Manager must be unique to the SQL Server Instance that hosts your database addon. &amp;nbsp;If another user who shares the SQL Server instance with you was able to create a particular additional SQL Login, then you will not be able to create the SQL Login because it has the same name.&lt;br&gt;&lt;br&gt;You may also change the password of your default user (or any additional users) by clicking the &amp;quot;change password&amp;quot; link associated with the user you wish to change.&lt;br&gt;&lt;br&gt;It&amp;#39;s important to note that adding a user here is only the first step. &amp;nbsp;&amp;nbsp;&lt;a href="https://support.discountasp.net/kb/a1428/how-to-assign-additional-sql-logins-to-a-sql-database.aspx" target="_blank"&gt;Read this Knowledge Base article&lt;/a&gt; for details on giving your newly created users the proper permissions to access to your database.&lt;br&gt;&lt;br&gt;If you need to create more than 3 database users, please create them as &lt;a href="https://support.discountasp.net/kb/a1031/how-to-create-contained-db-users.aspx" target="_blank"&gt;contained database users&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;SQL Tool Suite&lt;/strong&gt;&lt;br&gt;&lt;br&gt;&lt;em&gt;Create A Backup&lt;/em&gt;&lt;br&gt;&lt;br&gt;This tool creates a real-time backup of your SQL database and copies the file to your _database directory. &amp;nbsp;The file will be named: [DBNAME]_backup.bak or [DBNAME]_backup.zip, depending on the backup format that you choose.&lt;br&gt;&lt;br&gt;We recommend using the&amp;nbsp;&lt;strong&gt;zip&lt;/strong&gt; format for backups that you are archiving, as the file size is considerably smaller than the bak file, so your downloading and storage requirements will be much less. &amp;nbsp;If you are making a backup for rollback purposes (for example, before making a change to your database), use the bak format.&lt;br&gt;&lt;br&gt;You can only save one copy of each format of database backup in your site (1 zip and 1 bak).&lt;br&gt;&lt;br&gt;The .bak format database backup is intended for restoration on our database server. &amp;nbsp;Though technically possible, we cannot provide support for restoring a database backup from your own SQL server.&lt;br&gt;&lt;br&gt;&lt;em&gt;Restore From Backup&lt;/em&gt;&lt;br&gt;&lt;br&gt;This tool allows you to restore a database backup (generated by the Backup Database Tool) to your database.&lt;br&gt;&lt;br&gt;Note that &lt;strong&gt;a zip file cannot be uploaded and used to restore your database&lt;/strong&gt;, and that&amp;nbsp;&lt;strong&gt;all existing data in the database will be overwritten when you use this tool!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;Follow the steps below to restore a database:&lt;br&gt;&lt;br&gt;&lt;ol&gt;&lt;li&gt;Upload a .bak file generated by the Backup Database Tool to your web site.&lt;/li&gt;&lt;li&gt;Log in to the MS SQL Manager in your control panel.&lt;/li&gt;&lt;li&gt;Navigate to the &amp;quot;SQL Tools&amp;quot; menu.&lt;/li&gt;&lt;li&gt;Select the database you want to restore the .bak file to.&lt;/li&gt;&lt;li&gt;Enter the path to the .bak file. For example, \_database\backup.bak&lt;/li&gt;&lt;li&gt;Click the &amp;quot;Restore Backup&amp;quot; button.&lt;/li&gt;&lt;/ol&gt;&lt;br&gt;&lt;em&gt;Attach Data File&lt;/em&gt;&lt;br&gt;&lt;br&gt;This tool allows you to attach a local SQL database or local SQL Express data file to the SQL database hosted on our server.&lt;br&gt;&lt;br&gt;&lt;strong&gt;Note:&lt;/strong&gt; all existing data in the database will be overwritten!&lt;br&gt;&lt;br&gt;&lt;strong&gt;Note:&lt;/strong&gt; To connect to an MS SQL database you must use the SQL Server Management Studio.&lt;br&gt;&lt;br&gt;Follow the steps below to attach a database:&lt;br&gt;&lt;br&gt;&lt;ol&gt;&lt;li&gt;Detach the local SQL database. There are various ways to do this:&lt;ul&gt;&lt;li&gt;Using VS.NET/Visual Web Developer:&lt;ul&gt;&lt;li&gt;Right click on the database icon in the Solution Explorer&lt;/li&gt;&lt;li&gt;Select &amp;quot;Detach&amp;quot;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Using SQL Management studio:&lt;ul&gt;&lt;li&gt;Open SQL Management Studio&lt;/li&gt;&lt;li&gt;Expand the database node&lt;/li&gt;&lt;li&gt;Right click on the database you want to upload/attach to our SQL server&lt;/li&gt;&lt;li&gt;Select Tasks -&amp;gt; Detach&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Upload the database file (.mdf) to your web site.&lt;/li&gt;&lt;li&gt;Log in to the MS SQL Manager in your control panel and navigate to the SQL Tools tab.&lt;/li&gt;&lt;li&gt;Select the database you want to attach the MDF file to.&lt;/li&gt;&lt;li&gt;Input the path to the .mdf file. For example, \club.mdf&lt;/li&gt;&lt;li&gt;Click the &amp;quot;Attach Database&amp;quot; button.&lt;/li&gt;&lt;/ol&gt;&lt;br&gt;&lt;em&gt;Reset Database&lt;/em&gt;&lt;br&gt;&lt;br&gt;This tool allows you to drop and recreate your database. &amp;nbsp;It will recreate it using the same database name and the same primary database user name.&lt;br&gt;&lt;br&gt;Note the following:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;ol&gt;&lt;li&gt;The primary database username password will be reset to match the current hosting account password.&lt;/li&gt;&lt;li&gt;All data, DB objects, and custom permissions on the database will be lost and reset to its default state.&lt;/li&gt;&lt;li&gt;All additional database users will have to reassigned its proper roles. &amp;nbsp; Please refer to this knowledge base article: &lt;a href="https://support.discountasp.net/kb/a1428/how-to-assign-additional-sql-logins-to-a-sql-database.aspx" target="_blank"&gt;How to assign additional SQL logins to your database.&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br&gt;&lt;em&gt;Shrink Database&lt;/em&gt;&lt;br&gt;&lt;br&gt;This tool shrinks the data file to help customers reduce their SQL disk space usage. &amp;nbsp;It is recommended that you run this tool when your database size grown to 80% of the allotted size. &amp;nbsp;We do not recommend running this tool more than once a day.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style="background-color: #FFFFED; border: 1px dotted #000000; padding: 20px;"&gt;Did you know that our Website Cloud Backup service can also back up your database? &amp;nbsp;You have full control over backup retention and schedule. &lt;a href="https://my.discountasp.net/addons/backup.aspx" target="_blank"&gt;Automate your backups now with Website Cloud Backup&lt;/a&gt;.&lt;/div&gt;</description>
    </item>
    <item>
      <title>MySQL Manager</title>
      <link>https://kb.discountasp.net/kb/a168/mysql-manager.aspx</link>
      <pubDate>Thu, 13 Nov 2008 23:00:17 GMT</pubDate>
      <guid isPermaLink="false">kbarticle168</guid>
      <description>&lt;div&gt;If you have an existing MySQL database, the MySQL Server Information will be displayed on the &lt;a href="https://my.discountasp.net/mysql.aspx" target="_blank"&gt;MySQL Database Manager&lt;/a&gt; page which provides the information necessary to connect to the database, as well as a disk space usage chart.&lt;br&gt;&lt;br&gt;By default, the database is created with the same password used to log into the Control Panel. &amp;nbsp;To change the password for your MySQL database, click the &amp;quot;Manage&amp;quot; link for the database you wish to change.&lt;br&gt;&lt;br&gt;To order additional space for a MySQL database, click &amp;quot;Purchase Additional Disk Space&amp;quot; at the top of the &lt;a href="https://my.discountasp.net/mysql.aspx" target="_blank"&gt;MySQL Database Manager&lt;/a&gt; page.&lt;br&gt;&lt;br&gt;The MySQL add-on initially provides 2000 MB of disk space. &amp;nbsp;You can create as many MySQL databases as your disk space will support.&lt;br&gt;&lt;br&gt;&lt;strong style="text-decoration: underline;"&gt;MySQL Database Manager&lt;/strong&gt;&lt;br&gt;&lt;br&gt;This page will allow you to purchase more MySQL Data Disk Space. &amp;nbsp;It will also list the MySQL databases that you have created. &amp;nbsp;The &amp;quot;Manage&amp;quot; link will take you to the information page of your database. &amp;nbsp;You can review your MySQL Server Name, Database Name, Database Login, assigned disk quota to this specific database and the Disk Space Usage. &amp;nbsp;To reset the password to your MySQL database click on the &amp;quot;Update Password&amp;quot; link.&lt;br&gt;&lt;br&gt;Note: You will be provided a connection string example to your MySQL database. &amp;nbsp; This is merely an example and depending on the programming language you will use, the connection string may be different from one language to another.&lt;br&gt;&lt;br&gt;&lt;strong style="text-decoration: underline;"&gt;How to Create MySQL Databases&lt;/strong&gt;&lt;br&gt;&lt;br&gt;Navigate to the MySQL Database Manager. &amp;nbsp;The Database Name will have a naming convention of &lt;span style="font-family: courier new,courier,monospace;"&gt;[MySQL Version]_[ID number]_[Your own personal name]&lt;/span&gt;. &amp;nbsp; You are free to create any &amp;quot;alpha numeric&amp;quot; MySQL user name. &amp;nbsp;During the time of its initial setup, the MySQL database password will match that of the control panel password.&lt;br&gt;&lt;br&gt;Note: Each MySQL database can only maintain one database user.&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #FFFFED; border: 1px dotted #000000; padding: 20px;"&gt;Did you know that our Website Cloud Backup service can also back up your database? &amp;nbsp;You have full control over backup retention and schedule. &lt;a href="https://my.discountasp.net/addons/backup.aspx" target="_blank"&gt;Automate your backups now with Website Cloud Backup&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;</description>
    </item>
  </channel>
</rss>