Log message #4154228

# At Username Text
# Jun 27th 2018, 13:11 neon1024 You can’t really play a game to lose though right?
# Jun 27th 2018, 13:10 josbeir idd
# Jun 27th 2018, 13:10 josbeir :)
# Jun 27th 2018, 13:10 tim Today's matches will be important to know whether Belgium should place second or not
# Jun 27th 2018, 13:10 josbeir so that brexit eeey
# Jun 27th 2018, 13:10 josbeir haha like that
# Jun 27th 2018, 13:10 neon1024 Yep, a colonial who returned home
# Jun 27th 2018, 13:09 josbeir ah ok :)
# Jun 27th 2018, 13:09 neon1024 I was born in the USA :P
# Jun 27th 2018, 13:09 josbeir england has a nice team
# Jun 27th 2018, 13:09 josbeir you are betting agains your motherland !
# Jun 27th 2018, 13:08 neon1024 True
# Jun 27th 2018, 13:08 neon1024 MEXvSWE will be a good one I reckon
# Jun 27th 2018, 13:08 josbeir we are both qualified so if we get too many points we risk getting in a bad selection
# Jun 27th 2018, 13:08 josbeir england needs to lose to for the best outcome
# Jun 27th 2018, 13:08 neon1024 2-1 BEL for me
# Jun 27th 2018, 13:08 josbeir but we need to lose :)
# Jun 27th 2018, 13:08 josbeir yeah!
# Jun 27th 2018, 13:07 neon1024 @josbeir ENGvBEL tomorrow! :P
# Jun 27th 2018, 13:07 neon1024 It should could be, but I think you’d need to lookup the slug in the routing class twice, in both authors and tags, which seems like a duplication of effort to me as you’re probably going to look those up anyway in the controller
# Jun 27th 2018, 12:56 tim Change it in phpMyAdmin or whatever database management system you are using
# Jun 27th 2018, 12:56 tim It's a setting in your database where that user is not allowed to connect from the IP it's trying to connect from. The easiest way to fix it is to just set what IPs it can connect from to %
# Jun 27th 2018, 12:48 slackebot4 * the following line and set the port accordingly
# Jun 27th 2018, 12:48 slackebot4 * MySQL on MAMP uses port 8889, MAMP users will want to uncomment
# Jun 27th 2018, 12:48 slackebot4 * CakePHP will use the default DB port based on the driver selected
# Jun 27th 2018, 12:48 slackebot4 /*
# Jun 27th 2018, 12:48 slackebot4 'host' =andgt; ' ', [ here I put database server ip address ]
# Jun 27th 2018, 12:48 slackebot4 'persistent' =andgt; false,
# Jun 27th 2018, 12:48 slackebot4 'driver' =andgt; 'Cake\Database\Driver\Mysql',
# Jun 27th 2018, 12:48 slackebot4 'className' =andgt; 'Cake\Database\Connection',
# Jun 27th 2018, 12:48 slackebot4 ‘default’ =andgt; [
# Jun 27th 2018, 12:48 slackebot4 ‘Datasources’ =andgt; [
# Jun 27th 2018, 12:48 slackebot4 /app/config/my.cnf
# Jun 27th 2018, 12:48 sharnaaysha23 File uploaded https://cakesf.slack.com/files/UBEP09PKM/FBECLFESV/cakephp_database_error.png / https://slack-files.com/T053DPNCM-FBECLFESV-1f7c416ef3 - I make a simple registration and log in website using CakePHP 3.6. It works fine in my local machine. Then I upload the project in another server and my database is another server. Now when I go to log in or register the project does not get database connection. I configure
# Jun 27th 2018, 12:19 adriencs @sharnaaysha23 :wave: welcome
# Jun 27th 2018, 12:18 hmic !tell sharnaaysha23 about ask
# Jun 27th 2018, 12:17 sharnaaysha23 hello I am new in this group. I am learning cakephp as a beginner. I face some problem in my project. Can I post here?
# Jun 27th 2018, 12:09 a.francazi thanks guys, was just attempting the single action solution, will also look into the custom SlugRoute class method though
# Jun 27th 2018, 12:00 josbeir although in the case above you are right :slightly_smiling_face:
# Jun 27th 2018, 11:59 josbeir @neon1024 isn't a custom route class the better solution here ?
# Jun 27th 2018, 11:20 neon1024 Although routing is parsed procedurally, so the first routing rule will always be hit first