我已经成功地在mongoDB中加密了通信,但是当我尝试启用数据加密时,我会收到错误。我使用的是3.2.4版本的mongoDB企业版。我在控制台中得到以下消息:
ERROR: child process failed, exited with error number 14
但是,当我查看日志时,我看到了如下详细的错误:
Unable to retrieve key .system, error: there are existing data files, but no valid keystore could be located.
Fatal Assertion 28561
下面是我的配置
这是我在日志里看到的
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Offering public key: RSA SHA256:f0cjkIUOI7TIxdOW905CdEHDgxNbj1vfXthE2LCz0rk /home/dmytrocx75/.ssh/id_rs
def withdraw():
try:
# name parameter will be set to the asset value by the client if not passed
result = client.withdraw(
coin='TRX',
address='<my trx address>',
amount=100)
print(result)
except BinanceAPIException as e:
print(e)
else:
我需要建立一个表格来管理的文件,如jpg,doc,msg,pdf使用sql服务器2008。
据我所知,sql server支持.jpg图像,所以我的问题是,是否可以将其他类型的文件上传到数据库中。
这是一个表的例子(如果需要,可以重新定义)。
Document : document_id int(10)
name varchar(10)
type image (doesnt know how it might works)
这些是表的初始值,但我不知道如何使其对任何类型有用。
pd:我需要指定一个目录才能将这些文档保存到服