Coder Social home page Coder Social logo

Comments (9)

499704069 avatar 499704069 commented on June 24, 2024 1

我把jdbc:mysql://localhost:3306/customer中的localhost改为127.0.0.1就可以了,有啥区别吗?

from customermanagement.

wudouxingjun avatar wudouxingjun commented on June 24, 2024

我也是同样的问题,正在找解决方法

from customermanagement.

jackzhengpinwen avatar jackzhengpinwen commented on June 24, 2024

我可以正常运行饿

from customermanagement.

lihanxiang avatar lihanxiang commented on June 24, 2024

表的名称不对吧

from customermanagement.

pengest avatar pengest commented on June 24, 2024

注意database的名称,和的名称。
c3p0-config.xml
<property name="jdbcUrl">jdbc:mysql://localhost:3306/customer</property>
以上customer是database的名称。

from customermanagement.

lihanxiang avatar lihanxiang commented on June 24, 2024

报错的原因是,没有连接上数据库,你需要输入自己的数据库名称

from customermanagement.

499704069 avatar 499704069 commented on June 24, 2024

终端可以连接MySQL,可以使用customer数据库,但是运行项目添加客户还是出现java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)问题,这是什么原因?

from customermanagement.

codingXiaxw avatar codingXiaxw commented on June 24, 2024

from customermanagement.

codingXiaxw avatar codingXiaxw commented on June 24, 2024

from customermanagement.

Related Issues (18)

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.