Coder Social home page Coder Social logo

Comments (8)

opser-gavin avatar opser-gavin commented on May 1, 2024 7

php7.0去除了mysql_connect ,改用 new mysqli(.....) ,

from bk-cmdb.

LHanL avatar LHanL commented on May 1, 2024

貌似是 php 7 在编译时候 --with-mysql 是无效的

from bk-cmdb.

huangmeng4520 avatar huangmeng4520 commented on May 1, 2024

用php7.0过不去,切换到5.6.20版本继续尝试

from bk-cmdb.

LHanL avatar LHanL commented on May 1, 2024

@huangmeng4520 5.6.29 已测试通过

from bk-cmdb.

owenlxu avatar owenlxu commented on May 1, 2024

好的,php 7.0的兼容性我们还没完整的测试过

from bk-cmdb.

raindylong avatar raindylong commented on May 1, 2024

记忆中php7.0已经是不支持旧版本的mysql扩展了,都是推荐直接用pdo_mysql了。

from bk-cmdb.

owenlxu avatar owenlxu commented on May 1, 2024

可以尝试修改db.php中的driver 类型,查看下当前编译的php版本中支持的mysql驱动

from bk-cmdb.

Nassir1995 avatar Nassir1995 commented on May 1, 2024

在db.php中数据库设置时修改'dbdriver' => 'mysqli',

from bk-cmdb.

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.