Trouble connecting to a postgreSQL database on a server

1 回表示 (過去 30 日間)
Francois Clemens
Francois Clemens 2015 年 2 月 1 日
コメント済み: Francois Clemens 2015 年 2 月 2 日
Hi,
being new to databases I struggled through the sequences of installing drivers, setting paths etc etc. Finally I treid to connect to the local database by the following command:
conn = database('seriousservergame','DBA','',...
'Vendor','PostgreSQL',...
'Server','Servoy');
when inspecting conn I get the following result:
conn =
Instance: 'seriousservergame'
UserName: 'DBA'
Driver: []
URL: []
Constructor: [1x1 com.mathworks.toolbox.database.databaseConnect]
Message: 'The connection attempt failed.'
Handle: 0
TimeOut: 0
AutoCommit: 'off'
Type: 'Database Object'
Is there anybody who can explain why I get this message?
thanks in advance
Francois Clemens
  2 件のコメント
Geoff Hayes
Geoff Hayes 2015 年 2 月 1 日
Francois - have you verified that the username is DBA and that the password is an empty string?
Francois Clemens
Francois Clemens 2015 年 2 月 2 日
Hi Geoff,
yes I did, so that shouldn't be the problem.
regards
Francois

サインインしてコメントする。

回答 (0 件)

カテゴリ

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