Can only connect to master database with JDBC Sql Server
问题 I just successfully connected my android app with a database running on azure cloud services to run simple queries. The connection string provided by azure already specifies which database I want to connect to, but when it is trying to execute a select query in that database the table cannot be found because the query is being executed on Master database. jdbc:jtds:sqlserver://{servername}:1433;database=BDassistance;user={username};password={password};encrypt=true;trustServerCertificate=false