I want to connect mysql database on www.000webhost.com with matlab 2016a. Is that possible?If yes, How to do that? Can't get any source for this.

2 ビュー (過去 30 日間)
I know 3 way to connect database by matlab.
1. conn = database(instance,username,password)
2. conn = database(instance,username,password,driver,databas eurl)
3. conn = database(instance,username,password,Name,Value)
I think that would be the second option. But I don't know about driver and databaseurl. Can anyone give me some examples to connect to database over webhost?

回答 (1 件)

Yuebin Zhou
Yuebin Zhou 2016 年 3 月 17 日
The functions you mentioned correspond to connect to database using JDBC, ODBC and Bridge. You can refer to the link below for some explanations and examples.

カテゴリ

Help Center および File ExchangeDatabase Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by