Last change
on this file since 4 was
4,
checked in by zhangj, 10 years ago
|
Initial import--MML version from SOLEIL@2013
|
File size:
486 bytes
|
Line | |
---|
1 | function myopen(host,user,pwd) |
---|
2 | % MYOPEN Connect to MySQL |
---|
3 | % INPUTS : HOST - host name, string |
---|
4 | % USER - user name, string |
---|
5 | % PWD - password, string |
---|
6 | % OUTPUTS : None |
---|
7 | % EXAMPLE : myopen('localhost','root','mypwd') |
---|
8 | % myopen('microsoft.com','gates','windows') |
---|
9 | % AUTHOR : Dimitri Shvorob, dimitri.shvorob@vanderbilt.edu, 8/7/06 |
---|
10 | try |
---|
11 | a = mym('open',host,user,pwd); %#ok |
---|
12 | catch |
---|
13 | error('Could not start a MySQL instance. Check login parameters.') |
---|
14 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.