Coder Social home page Coder Social logo

Comments (7)

xpleaf avatar xpleaf commented on August 18, 2024

从你这报错看就是数据库的连接有问题了,使用mysql时需要设定一个环境变量的,比如:

export DATABASE_URL=mysql://root:[email protected]/blog_mini

这里默认指定的端口是3306。
另外,没有图片服务器,所以确实需要第三方的图片链接,在后续版本中会改进这一点。

from blog_mini.

heycyril avatar heycyril commented on August 18, 2024

那我指定13333端口应该怎么指定呢

from blog_mini.

heycyril avatar heycyril commented on August 18, 2024

可以直接在文件里面定义成这样吗,直接修改配置文件就行,不用再声明变量
conn = pymysql.connect(host='127.0.0.1', port=3306, user='root', passwd='123',db='girl')

from blog_mini.

heycyril avatar heycyril commented on August 18, 2024

已解决
export DATABASE_URL=mysql://root:[email protected]:33333/blog_mini

from blog_mini.

heycyril avatar heycyril commented on August 18, 2024

请问在编辑文章的时候插入图片直接粘贴进去,不同再链接插入,这个功能好实现吗

from blog_mini.

xpleaf avatar xpleaf commented on August 18, 2024

实现应该不会太难,包括粘贴之后可以实现上传的功能,但这个需要前端插件的支持,具体我也没有研究过,你可以研究下。

from blog_mini.

heycyril avatar heycyril commented on August 18, 2024

好,闲了我看看,

from blog_mini.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.