Professional Documents
Culture Documents
User Guide
CONTENTS
1. INTRODUCTION ........................................................................................... 1
1.1 CSDM-WEBDEV ....................................................................................... 1
1.2 CSDM-MYSQL ......................................................................................... 1
2. WEBSITES .................................................................................................... 2
2.1 Uploading Files onto Website .................................................................... 2
2.1.1 Connecting using Start Menu .......................................................... 2
2.1.2 Connecting Manually ...................................................................... 2
2.2 Passwords .............................................................................................. 4
2.3 Viewing the Website ................................................................................ 4
2.4 Disk Space ............................................................................................. 4
1.1 CSDM-WEBDEV
CSDM-WEBDEV server is used for Web Programming modules. It is a web development
server and is not visible outside the university ie. it cannot be accessed from home.
Only students doing Web Development modules or projects will be given access to CSDM-
WEBDEV.
Software Versions
IIS 7.5
PHP 5.3
1.2 CSDM-MYSQL
CSDM-MYSQL server is used for MySQL Database modules. It is a development server and
is not visible outside the university.
Only students doing database modules or projects will be given access to CSDM-MYSQL.
Software Versions
MySQL 5.5
1
WEBSITES
2. WEBSITES
2.1 Uploading Files onto Website
To transfer files onto the website, you need to map a drive to the server. This will
assign a drive letter and allow you to transfer files in the same manner as if you were
copying files onto a USB pen or similar.
You should not see a Q: drive appear in your file explorer. If it does not, then you do
not have a CSDM-WEBDEV account. Contact your lecturer or the support team.
2
WEBSITES
6. Click Finish
Note: You do not have to select the letter Q:, any drive letter will do as long as it is not
already in use.
3
WEBSITES
2.2 Passwords
The password to connect to your web space is the same as the one you log onto the
network with. When you connect to the web space, you should not be prompted for a
password as long as you are logged into the network.
When testing your websites, Internet Explorer should not prompt you for a password.
However, other browsers such as Firefox may ask for your username and password. Use
the same details as you log into the PCs with.
It should be noted that MySQL passwords are completely different from your standard
network username and passwords. See Section 3.2 for more info.
View website
1. Open Internet Explorer or other Internet browser
2. Enter the url http://csdm-webdev.comp.rgu.ac.uk/<username> and
press <return>. Example: If my username was 01234567, I would enter
http://csdm-webdev.comp.rgu.ac.uk/01234567
Note: Websites hosted on CSDM-WEBDEV can only be viewed from within RGU. They are not
visible to the outside world.
Important! Only files related to web development modules or projects should be put onto CSDM-
WEBDEV. All other files will be removed.
4
MYSQL DATABASES
3. MYSQL DATABASES
3.1 Connect to MySQL Database
There are 4 main ways to connect onto MySQL server.
PhpMyAdmin
MySQL Client
Toad for MySQL
Database Browser
4. Click Go
Alternatively, you can simply enter the URL into the web browser instead and login as
described above.
5
MYSQL DATABASES
6
MYSQL DATABASES
6. Click Connect
You should now connect. To select the database you wish to work on, use the pull-down
menu in the Object Explorer pane on the left.
7
MYSQL DATABASES
3.2 Passwords
Unlike most other systems in the university, the MySQL password is completely separate
from all other passwords. This is to prevent you having to enter your network password
in clear text in source code files, such as php files.
The default password for logging onto MySQL Server is your username (matric number).
For example, if my network login is 01234567, then my password would also be
01234567.
Staff must contact the support team to receive their passwords.
Important! It is essential that you change the default password to something more secure as
soon as you have connected to MySQL.
Important! Ensure no one is looking over your shoulder when you type this command. Your
password is in clearly visible.
8
MYSQL DATABASES
Note! All databases must with the letters db followed by your username.
ie. db<username>_
5. Click Create
9
MYSQL DATABASES
Note! All databases must with the letters db followed by your username.
ie. db<username>_
10
MYSQL DATABASES
11
MYSQL DATABASES
5. Click Go
6. Select where to save the database .sql file to and click Save
12
MYSQL DATABASES
6. In Databases:, tick the databases you wish to back up. For example, if we
wanted to export the database db01234567_db then we would tick it.
7. Back in Databases in the left side, ensure Tables is ticked (and tick Views if
required).
8. Click Next
Select Output Format window should now appear
9. From the Output Format pull-down menu, select SQL Script
13
MYSQL DATABASES
13. Select the folder where to save the database .sql file to and click OK
14. Click Next
Export Object window should now reappear
15. Click Next
14