birdspring
birdspring
@gianm I truly used this method...I wonder if there have other solutions before. Now it seems not. Thank you very much.
@chejinye 在数据库名字最后加上 ?charset=utf8
@chejinye 首先你本机或者服务器内需要安装mysql,用pip install mysqlclient安装mysql客户端,apt-get安装(ubuntu)也可以。 其次连接mysql数据库的标准uri是 mysql://root:password@localhost/databasename?charset=utf8 用户名与密码是你mysql自己设置的,localhost是你对应的ip,服务器的话自己配置,数据库名字就是你要连接的数据库名,必须提前在mysql中创建,这样点test connection。 如果你用的是caravel自带的例子的话用非sqlite数据库会出现一些问题,这个就是另一个方面了
@x4base Now I'm trying to change my database_uri from sqlite to mysql, I've updated the config and followed the manual to start the service. But I cannot open the tables...
@mahedi0244 You could navigate to the database view and choose your objective database, then input your mysql root password correctly. Don't forget to click the "test connection" until it replies...
@mahedi0244 There may be two mistakes you've made. First, you have to load the table whose name is the same as one of the tables' name in your database. If...
@mahedi0244 When you click the "SQL link", are there any tables showed? Or if you ever tried "caravel db upgrade"?
I tried changing the target folder, and now it works again. But I afraid the problem would happen again.
It seems I didn't have the access to this datasource.
@PickLiDan hive://ip:10000. It still needs a few other dependencies.