<< previous page   --   table of contents   --   next page >>
| | | | | | | |
  • Return to Table of Contents
  • Table of Contents

    1. General Information
    2. MySQL Installation
    3. Tutorial Introduction
    4. Database Administration
    5. MySQL Optimisation
    6. MySQL Language Reference
    7. MySQL Table Types
    8. MySQL APIs
    9. Extending MySQL

    Chapter 2:  MySQL Installation 117 2.6.2.4  Connecting to a Remote MySQL from Windows with SSH Here is a note about how to connect to get a secure connection to remote MySQL server with SSH (by David Carlson dcarlson@mplcomm.com):    Install  an  SSH  client  on  your  Windows  machine.   As  a  user,  the  best  non-free  one I've  found  is  from  SecureCRT  from  http://www.vandyke.com/.     Another  option is  f-secure  from  http://www.f-secure.com/.    You  can  also   nd  some  free  ones on Google at http://directory.google.com/Top/Computers/Security/Products_ and_Tools/Cryptography/SSH/Clients/Windows/.    Start your Windows SSH client.  Set  Host_Name = yourmysqlserver_URL_or_IP.  Set userid=your_userid to log in to your server (probably not the same as your MySQL login/password.    Set up port forwarding.  Either do a remote forward (Set local_port: 3306remote_ host: yourmysqlservername_or_ip,  remote_port: 3306  )  or  a  local  forward  (Set port: 3306, host: localhost, remote port: 3306).    Save everything, otherwise you'll have to redo it the next time.    Log in to your server with SSH session you just created.    On your Windows machine, start some ODBC application (such as Access).    Create a new le in Windows and link to MySQL using the ODBC driver the same way  you  normally  do,  except  type  in  localhost  for  the  MySQL  host  servernot yourmysqlservername. You should now have an ODBC connection to MySQL, encrypted using SSH. 2.6.2.5  Splitting Data Across Di erent Disks on Windows Beginning with MySQL Version 3.23.16, the mysqld-max and mysql-max-nt servers in the MySQL distribution are compiled with the -DUSE_SYMDIR option.  This allows you to put a database on di erent disk by adding a symbolic link to it (in a manner similar to the way that symbolic links work on Unix). On Windows, you make a symbolic link to a database by creating a le that contains the path to the destination directory and saving this in the `mysql_data' directory under the lename  `database.sym'.   Note  that  the  symbolic  link  will  be  used  only  if  the  directory `mysql_data_dir\database' doesn't exist. For  example,  if  the  MySQL  data  directory  is  `C:\mysql\data'  and  you  want  to  have database foo located at `D:\data\foo', you should create the le `C:\mysql\data\foo.sym' that contains the text D:\data\foo\.  After that, all tables created in the database foo will be created in `D:\data\foo'. Note  that  because  of  the  speed  penalty  you  get  when  opening  every  table,  we  have  not enabled this by default even if you have compiled MySQL with support for this.  To enable symlinks you should put in your `my.cnf' or `my.ini' le the following entry: [mysqld] use-symbolic-links
     

    Customer Support CentreMySQL Reference Manual

    Web Hosting Services
    UNIX WEB HOSTING
    SUPPORT & FAQ's
    TERMS OF USE
    Domain Services
    DOMAIN REGISTRATION
    MANAGE YOUR ACCOUNT
    SUPPORT & FAQ's
    TERMS OF USE
    SITE MAP
    Home
    Hosting Plans | Domain Registration | About Us | Contact Us | Site Map
    Terms of Use | Privacy Policy | Guarantees
    Merchant Accounts

    SpiritHost - web hosting for spiritual and education sites
    SpiritHit.com - Religious and Spiritual Portal
  • Return to Table of Contents
  • Back to top

  • Web Hosting: Manuals & FAQ's

    1. Unix-Based Web Hosting
    2. Unix Dedicated Servers
    3. Windows Dedicated Servers
    4. CuteFTP User’s Guide
    5. CuteHTML User’s Guide
    6. WS_FTP Pro User's Guide
    7. Miva Order User's Guide
    8. Miva Merchant User's Guide