Working with Databases

Similar documents
1. ECI Hosted Clients Installing Release 6.3 for the First Time (ECI Hosted) Upgrading to Release 6.3SP2 (ECI Hosted)

Locate your Advanced Tools and Applications

This FAQ is only applicable for hostings ordered after 23/6/2010

DOCUMENT REVISION HISTORY

Windows Download & Installation

EventSentry Quickstart Guide

Installing Blank SiriusSQL Database 4.0

Topic: Dropbox. Instructional Technology Services Dropbox Faculty Help. Dropbox Features: Minimum Requirements: Create a Dropbox Account

HR-Lite Database & Web Service Setup Guide

NBC-IG Installation Guide. Version 7.2

BUSINESS CLOUD FAX By Northland Communications

User Manual. Active Directory Change Tracker

INSTALL GUIDE BIOVIA INSIGHT 2.6

Creating a File DSN. 1) Go to Control Panel Administrative Tools Data Sources (ODBC) 2) Select the File DSN tab. 3) Click Add

INSTALLATION AND SIGN-ON

Admin Guide Hosted Applications

DefendX Software Control-Audit for Hitachi Installation Guide

WebsitePanel User Guide

MIDIAX ONLINE BACKUP INSTALLATION

Installation Guide. Last Revision: Oct 03, Page 1-

Installation of Actiheart Data Analysis Suite:

NTP Software File Auditor for Hitachi

NTP Software File Auditor for Windows Edition

INSTALL GUIDE BIOVIA INSIGHT 2016

MassTransit Server Installation Guide for Windows

EasyLobby Database Setup EasyLobby Family of Products Version 10.0

Publish Joomla! Article

Publish Joomla! Article

Setting up a database for multi-user access

Partner Integration Portal (PIP) Installation Guide

Getting Started. Opening TM Control Panel. TM Control Panel User Guide Getting Started 1

DSS User Guide. End User Guide. - i -

Importing Merit Calendar to Outlook 2010

7. Run the TRAVERSE Data Migration Utility from TRAVERSE 10.2 into TRAVERSE 10.5.

These are the steps you will take to complete the tutorial. They are also the common processes through which you will create your own operations.

Defining an ODBC data source

Apptix Online Backup by Mozy User Guide

BACKUP APP V7 QUICK START GUIDE FOR SYNOLOGY NAS

DOWNLOAD PDF SQL SERVER 2012 STEP BY STEP

Fire Behaviour Knowledge Base Installation

ZAVANTA Standalone Installation

User Manual. ARK for SharePoint-2007

Backup everything to cloud / local storage. CloudBacko Home. Essential steps to get started

Online Backup Manager v7 Quick Start Guide for Synology NAS

Database Explorer Quickstart

EMS MASTER CALENDAR Installation Guide

Plesk 7.5 for Windows Migration Manager

CHECKPOINT CATALYST QUICK REFERENCE CARD

Release Date March 10, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60610, USA Phone: (312)

Appendix A: Courseware setup

NTP Software Defendex (formerly known as NTP Software File Auditor) for NetApp

Millennium Expert/Enterprise Installation Guide Version Table of Contents

OASYS OASYS WORKSTATION INSTALLATION GUIDE

Crystal Enterprise. Overview. Contents. Upgrading CE8.5 to CE10 Microsoft Windows

Installing the PC-Kits SQL Database

EASYHA SQL SERVER V1.0

Employee Web Services. Installation Guide

IT Essentials v6.0 Windows 10 Software Labs

Introduction to Computer Science

WebAD IISADMPWD. Replacement Tool v2.5. Installation and Configuration Guide. Instructions to Install and Configure IISADMPWD

BROWSER-BASED SUPPORT CONSOLE USER S GUIDE. 31 January 2017

Manually Backup Sql Server Express Databases 2008 R2 Script

Workspace Administrator Help File

1 Installing the ZENworks Content Reporting Package

Acronis Backup plugin for WHM and cpanel 1.0

1.1 How to Install Prerequisites

Administrator Guide. Flexible Storage

Using SQL Reporting Services with isupport

End User Manual. December 2014 V1.0

Installing and Configuring Worldox/Web Mobile

Follow all of the steps indicated below for each process. Some steps may require IT assistance.

LabVIEW Datalogging and Supervisory Control Module

SYNTHESYS MANAGEMENT

Using Servosity PRO/STD to Restore Your Files. This chapter describes different ways files can be restored from the backup server.

Premium Pro Enterprise Local Installation Guide for Database Installation on a desktop PC (Cloudscape)

C-MagSys and Q-MagSys Components Installation Guide (20 January 2010) C-MagSys and Q-MagSys Components Overview at Clinic

Dell Storage Compellent Integration Tools for VMware

Reconfiguring VMware vsphere Update Manager. Update 1 VMware vsphere 6.5 vsphere Update Manager 6.5

1 Login AppServ Hosting Control System

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

efolder BDR for Veeam VMware Continuity Cloud Guide

PRPC Personal Edition Installation Guide 6.3 SP1

MITEL. Live Content Suite. Mitel Live Content Suite Installation and Administrator Guide Release 1.1

Using OptiView Console

LiveNX Upgrade Guide from v5.1.2 to v Windows

Scoreboard 2.16 Installation Guide. For Apache Tomcat 8.0 On Windows 2003 (or later) Server, 64-bit

PHRED Installation Guide

MX-Contact Instruction Sheet Setting up SQL Replication SQL 2005

Reliable High-Speed Connection to Publication Database for Synchronization

Installing IPM on Windows

PMP Installation and Networking Instructions

Orgnazition of This Part

Release Date September 30, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60654, USA

inforouter V8.0 Implementation Guide Active Innovations, Inc. A Document Management Company

Migrating to MIL-Comply SQL Server Edition

CaseMap Server Installation Guide

Table of Contents. About this Guide..3. This workis licensed under a Creative Commons Attribution 2.5 License. Getting Help..4. Welcome to Pinnacle..

Copy Table From One Database To Another Sql

Copyright Autodesk, Inc.

AppWizard Installation/Upgrade Guide (v.4.00)

Transcription:

Working with Databases TM Control Panel User Guide Working with Databases 1 CP offers you to use databases for storing, querying and retrieving information. CP for Windows currently supports MS SQL, PostgreSQL and MySQL databases. Note: In some cases database service is supported at the domain creation. In this case, you are not asked to create a database for activating the database service on your Webspace. Important: By security reasons you can not create SQL jobs (for example, via SQL-scripts or anyway else) in MS SQL Server 2000 databases. In MS SQL Server 2005 this ability is denied by default. In This Chapter Adding New Database Adding New Database User New Topic - Setting Default User Managing Data Source Names Using Web Data Administrator Using mylittleadmin for SQL Server 2000 Backing Up and Restoring Databases Administrating Databases with phpmyadmin or phppgadmin Managing External Access to Database

Adding New Database TM Control Panel User Guide Working with Databases 2 To add the new database: 1 Open the Databases window (Hosting > Configuration & Administration > Databases). The list of existing databases is displayed. 2 Click on the Add New Database button to start the wizard. 3 Select the database type. Click Next to continue. 4 Under New database info, fill in the following fields: Database name - type in the name of a new database. Data size limit - specify the maximum allowed diskspace for the database data files (in KB or MB) within the boundaries that are shown below the field. Transaction log size limit - specify the maximum allowed diskspace for the transaction log files (in KB, or MB, or percents) within the boundaries that are shown below the field. By default the system suggests "20 %" (percents are taken from the data file quota specified). Note: Data size limit and Transaction log size limit fields are available for MS SQL databases only. Allow Access from External Hosts - select this checkbox if you wish to allow access to your database from external servers (the ones to be specified by you).this option can be very useful when you have websites hosted on third-party web servers (outside CP) which use the databases managed in CP. Note: The Allow Access from External Hosts option is available for MySQL and PostgreSQL databases only. 5 Under New database's user info, fill in the next fields: Database user name - type in the name of the database user. This will be the default database user. Note: For instructions on how to change the default database user, refer to the Setting Default User section. Password - type in the password the user will use to access the database. Confirm password - retype the password to make sure it is correct. 6 Click Finish to complete the database creation. The new database will be added to the list. Having created a database, you can edit the following parameters: For MS SQL databases - the Data size limit and Transaction log size limit. For MySQL and PostgreSQL databases - the Allow Access from External Hosts option (enabled or disabled).

TM Control Panel User Guide Working with Databases 3 To edit the parameters of a database, perform these steps: 1 Go to Hosting > Configuration & Administration > Databases. 2 Select the database by clicking its name. The properties of the selected database appear on the screen. 3 Click Edit. 4 Apply the necessary changes and click Submit. Adding New Database User Database user is the one who is assigned to manage information in the database via phpmyadmin interface. It is not necessary for the database user to have access in CP. The log in to the database can be carried out right from the web browser. Each database user has the individual login name and password for accessing the database. Note: The default user can access a database right from the CP interface by clicking the appropriate link located in the General tab of the given database. To add a new user to the database: 1 Go to Hosting > Configuration & Administration > Databases. 2 Click on the name of the database you wish to assign a user to. The Database info page will open. 3 Go to the Users tab and click on the Add New User button. Figure: Creating Database User 4 Enter the User name and Password into the corresponding text input field. 5 Retype the password in the Confirm password field to make sure you entered it correctly. 6 Click Submit to complete the process of adding a new database user.

New Topic - Setting Default User TM Control Panel User Guide Working with Databases 4 A default user is assigned to manage a certain database. The default user can access a database right from the CP interface by clicking the appropriate link located in the General tab of the given database. Note: The default user is created while adding the database (see the Adding New Database section). To assign a default user from the user's list: 1 Go to Hosting > Configuration & Administration > Databases page. 2 Click on the name of the database you wish to assign a default user to. The Database info page will open. 3 Select the Users tab and click on the user name you wish to set the default one. 4 Click on the Set default button. The information message will appear stating that this user is the default user for managing the given database. In the user's list the default user is marked in bold characters. There can be only one default user assigned to the database, though you can easily switch this privilege from user to user by following the same instruction. When the default user is assigned, the link for accessing phpmyadmin interface is shown in the Browse Database Manager field of the Database info section. If there is no default user set for this database, the message Default database user is not set will occur instead of the Browse database manager link. Managing Data Source Names Data Source Name (DSN) is the logical name used by Open Database Connectivity (ODBC) to refer to the drive and other information required to access data. The name is used by Internet Information Server for a connection to an ODBC data source, such as a SQL Server database. Creating a DSN will let your system know where the database is located, so that you can refer to the database with a simple name, rather than the entire path. Adding New DSN for Existing Database To create a new DSN for an existing database follow these steps:

TM Control Panel User Guide Working with Databases 5 1 Go to Hosting > Configuration & Administration > Web Space > DSN Management page. This screen displays the existing DSNs. 2 Click the Add New DSN button. The DSN creation Wizard starts. Figure: Specifying General Parameters for New DSN 3 On the first screen, provide the general information on the new DSN - the name and description. Select the Existing database radio button. Click Next to continue. 4 Select the database, for which you are creating the DSN, by clicking on its name in the list. 5 Select specific DSN properties by clicking required check boxes. 6 Click Finish to schedule the new DSN for creation.

TM Control Panel User Guide Working with Databases 6 Adding New DSN for Microsoft Access Database To create a DSN for Microsoft Access Database follow these steps: 1 Go to Hosting > Configuration & Administration > Web Space > DSN Management page. The list of existing DSN(s) opens. 2 Click the Add New DSN button. The DSN creation Wizard starts. Figure: Adding DSN for Microsoft Access Database 3 Specify the data source name and the description of DSN being created and select the Microsoft Access database radio button. Click Next to continue. 4 On this step you need to specify DSN parameters: Location of the database file.

TM Control Panel User Guide Working with Databases 7 Figure: Specifying Microsoft Access DSN Properties Advanced DSN parameters. Buffer size - The size of the internal buffer, in kilobytes, that is used by Microsoft Access to transfer data to and from the disk. Any integer value divisible by 256 can be used. Read only - Designate the database as read-only. This safeguards the database from any updates.

TM Control Panel User Guide Working with Databases 8 Extended ANSI SQL - Enable new features available since Jet 4.0 that are not enabled by default. Jet 4.0 has several new features that are not enabled by default in the ODBC Desktop Database Drivers version 4.0. To take advantage of these new features, an application will have to set a new connection attribute, add a new attribute to the connection string, or set the attribute in a DSN. The attribute is called ExtendedAnsiSQL and pertains only to the Microsoft ODBC Desktop Database Drivers 4.0 and later. User name - User ID name used for login. Password. 5 Click Finish to complete the creation of DSN for Microsoft Access Database.

Private Database Folder TM Control Panel User Guide Working with Databases 9 The Private Database Folder is intended for storing MS Access database files. Enhanced security used in the folder's configuration prevents from direct downloading from a web browser. The Private Database Folder is created and secured during Webspace creation. It is highly recommended to store MS Access database files in this directory. Private Database Folder is located in the root of Webspace and called private. Using Web Data Administrator The Microsoft's Web Data Administrator is a utility program implemented in ASP.NET that enables you to easily manage your SQL Server data wherever you are. Using its built -in features, you can do the following from Internet Explorer or your favorite Web browser: Create and edit databases in Microsoft SQL Server 2000 or Microsoft SQL Server 2000 Desktop Engine (MSDE) Perform ad hoc queries against databases and save them to your file system Export and import database schema and data Manage users and Roles View, create and edit stored procedures Whether you are doing Microsoft Windows or Web development, or just need remote access to data for yourself or your clients, the Web Data Administrator is the perfect complement to your toolbox. If you are provided with Web Data Administrator, you can open it following these steps: 1 Go to Hosting > Configuration & Administration > Databases. 2 Select an MS SQL database.

TM Control Panel User Guide Working with Databases 10 Figure: URL to Web Data Administrator 3 On the General tab, click the Browse database manager link to launch Web Data Administrator.

TM Control Panel User Guide Working with Databases 11 Using mylittleadmin for SQL Server 2000 mylittleadmin for SQL Server 2000 and MSDE is a web-based SQL Server and MSDE Database administration tool. It is intended to handle the administration of SQL Server 2000 and 2005 databases over the Internet. It enables you to fully manage your databases even when you don't want or cannot use MS Enterprise Manager. With the help of mylittleadmin, you can: Create/change/delete tables, views, stored procedures, rules, types and functions; Execute sql-commands. If you are provided with mylittleadmin for SQL Server 2000, you can open it following these steps: 1 Go to Hosting > Configuration & Administration > Databases. 2 Select an MS SQL database. 3 On the General tab, click the Browse database manager link to launch mylittleadmin for SQL Server 2000. Note: Within one CP installation, you can be provided either with Web Data Administrator or with mylittleadmin. Backing Up and Restoring Databases You can back up databases in CP. You can also restore databases from previously made backup copies. To back up a database: 1 Go to the Backups window (Hosting > Configuration & Administration > Backups). 2 Click the Add New Backup button. The list of items available for backup is displayed. 3 Using the check boxes on the left, select one or more databases (listed in the Backup item column) for backing up. 4 Type a name for your backup in the Backup name field.

TM Control Panel User Guide Working with Databases 12 Figure: Selecting Database for Backing Up 5 Click the Finish button. The Backups window opens. The new backup item appears in the list. Use the Refresh button to monitor the backup process by observing the status indicator in the Status column for the new backup item. The status indicator for a successfully backed-up item changes from Backing Up to Stored. To restore databases from backup: 1 Go to the Backups window (Hosting > Configuration & Administration > Backups). 2 Using the check boxes on the left, select one or more backup items (listed in the Backup item column) for restoring. 3 Click the Restore button. The information message is displayed that the restoring process has started successfully. Warning: You can select more than one database for backing up. In this case, all selected databases will be stored in a single collective backup. You will not be able to restore the databases individually from such a backup, only all of them at the same time. Because the current databases are deleted when a corresponding backup is restored, restoring a collective database backup may result in unwanted changes in multiple databases.

TM Control Panel User Guide Working with Databases 13 Administrating Databases with phpmyadmin or phppgadmin CP provides you with the option of using the phpmyadmin or phppgadmin for administrating your databases. To make use of this feature, you need to commit the following operations: 1 Select a database in the databases list. Click on the name of the database. 2 Click on the appropriate link in the Browse Database Manager field of the Database info section. The database manager will open in a separate browser window. There you will be able to work with the databases assigned to you. To learn the full list of phpmyadmin abilities, refer to the official phpmyadmin site at www.phpmyadmin.net. To learn the full list of phppgadmin abilities, refer to the official phppgadmin site at www.phppgadmin.net. Managing External Access to Database CP offers the possibility for external hosts to access your databases. This can be very useful if you have websites hosted on third-party web servers (outside CP) which use the databases managed in CP. The external access to database option is available for MySQL and PostgreSQL databases only. For these two database types, you can set this option during database creation, or by editing the database properties later. Note: You are able to use the external access option if it is included in your Subscription. Read the subsections below to know how you can manage external access to you databases.

TM Control Panel User Guide Working with Databases 14 Enabling/Disabling External Access to Database To determine whether external access is enabled for a database, perform these steps: 1 Go to Configuration & Administration > Databases. 2 Click on the database name (of a MySQL or PostgreSQL database). 3 On the General tab, you can see the status of the external access option: Enabled. The External Hostname field shows Access from external hosts: Enabled and displays the hostname or IP address for accessing the database. The Access Hosts tab is present on the screen. Figure: External Access Is Enabled Disabled. The General tab shows Access from external hosts: Disabled. The Access Hosts tab is missing.

TM Control Panel User Guide Working with Databases 15 Figure: External Access Is Disabled To enable external access to the database, perform these steps: 1 Go to Configuration & Administration > Databases. 2 Click on the database name (of a MySQL or PostgreSQL database). 3 On the General tab, click Edit. The screen opens in edit mode. 4 Select the Access from external hosts checkbox. 5 Click Submit. Now you can specify the external hosts, from which access to the database is allowed. To disable external access to the database, repeat the procedure above, this time clearing the Access from external hosts checkbox. Note: After you disable external access, all the external hosts you have added on the Access Hosts tab are removed. If later you wish to re-enable external access, you will have to manually re-register these hosts.

TM Control Panel User Guide Getting Started 16 Adding New Access Host By adding an access host, you specify a host from which CP will accept requests to the database. To be able to add an access host, you need first to enable external access to database. To add an access host, perform these steps: 1 Go to Configuration & Administration > Databases. 2 Click on the database name (of a MySQL or PostgreSQL database). 3 Go to the Access Hosts tab and click Add new access host. 4 In the provided field enter the access host's IP address and click Submit. The new access host will be displayed in the list on the Access Hosts tab. To remove an access host, select it in the list and click Delete.