Scilab Function
Last update : September 2006

sql_connect - Connect Mysql Database

### Calling Sequence

  `call(`'sql_connect',sql_host,1,'c',sql_user,2,'c',sql_pwd,3,'c',sql_db,4,'c','out',[1,1],5,'i')

### Parameters

- sql_host: mysql host compute name
- sql_user: mysql user name
- sql_pwd: mysql password
- sql_db: mysql database name

### Description

this function is to connect mysql database

### Examples

    sql_host='mysqlserver'

    sql_user='root'

    sql_pwd='root'

    sql_da='test'

    call('sql_connect',sql_host,1,'c',sql_user,2,'c',sql_pwd,3,'c',sql_db,4,'c','out',[1,1],5,'i')

### See Also

sql_query, sql_close

### Author

`Developed by Zhe Peng, Longhua Ma.`