Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用 NetBeans 8 中的 UCanAccess 连接到 Access 数据库,但现在我需要在连接属性中指定数据库密码。我怎样才能做到这一点?
使用以下方式,
DriverManager.getConnection("jdbc:ucanaccess://path_to_your_db_file", your_user, your_password); or DriverManager.getConnection("jdbc:ucanaccess://path_to_your_db_file;password=your_password");