isohuntto / openbay

Other
3.53k stars 903 forks source link

SQLSTATE[HY000] [1045] Access denied for user #150

Open TittyGreez opened 9 years ago

TittyGreez commented 9 years ago

I'm a complete amateur when it comes to websites and such, but I thought I'd do my part for the Pirate bay cause and just so I know I have a safe place to torrent from.

I'm getting the error: SQLSTATE[HY000] [1045] Access denied for user

I setup my own Database ect... Should be working fine,

I think it could be the root user and pass, is it the database username and password you create? Or your literal root password. I've tried both and still not working.

Really appreciate some help, Thanks,

TPBT-OFFICIAL commented 9 years ago

Could you please maybe show a screenshot of the page/error? or paste the full error? it may be because you only setup the database and not sphinx

TittyGreez commented 9 years ago

I fixed the error, now I'm just getting 404 shit happens.

mywish1 commented 9 years ago

i m getting this issue please tel me how i can fix that CDbCommand failed to execute the SQL statement: SQLSTATE[42000]: Syntax error or access violation: 1064 per-query max_matches=10000 out of bounds (per-server max_matches=1000). The SQL statement executed was: SELECT id FROM opbtorrents WHERE MATCH('@name the sim') ORDER BY weight() DESC LIMIT 0, 40 OPTION ranker=expr('sum((4lcs+2(min_hit_pos==1)+exact_hit)_user_weight)_1000+bm25 + (created_at - 1000000000) / (NOW() - 1000000000) * 100 + if(torrent_status=1,100,0)'), max_matches=10000