GithubHelp home page GithubHelp logo

pdo's People

Contributors

bmutinda avatar delef avatar faapz avatar ismnoiet avatar kwhat avatar mikegioia avatar scheras avatar terah avatar tonylevid avatar wfrancois avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pdo's Issues

SQLSTATE[08004] [1040] Too many connections

Hi,

This is a weird intermittent issue, and I'm hoping someone else can provide context because I'm having real trouble figuring this out.

When I'm using FaaPz/Slim-PDO, I don't encounter this issue. With the forked library, the issue is intermittent, but it seems to be completely random as to when it occurs. I cannot replicate the issue, but it happens repeatedly.

I'm wondering if changes have been made to the way connections are created and potentially released? I know PHP's garbage collection should typically take care of outstanding issues like this. I was just curious if anyone else has encountered this.

Method `havingCount` results in error

Error:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'COUNT( * )' in 'having clause'

The same is true of having('COUNT(*)', ...

The workaround is to assign COUNT(*) AS count, and then reference the count variable in the SQL.

I know we discussed this previously, but this month has been unexpectedly busy. I will see if I can figure out where this problem occurs and a good method to resolve it if I have time.

2.0.3 Minimum Stability?

  Problem 1
    - The requested package particlebits/pdo (installed at 2.0.2, required as 2.0.3) is satisfiable by particlebits/pdo[2.0.2] but these conflict with your requirements or minimum-stability.

Nothing changed in the requires in your lib, so I'm not sure why this error is being thrown. Can you confirm on your end?

When I set the requirement to ~2.0 in composer.json, the lock file is written as below:

             "name": "particlebits/pdo",
              "version": "2.0.2",

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.