Answers.Body: <p>So if it can't connect to the database, then one of the following is not right in the <code>config/db.php</code> file:</p>
  
  <ul>
  <li><code>server</code> - usually it's <code>localhost</code> but perhaps they provide an external MySQL server?</li>
  <li><code>database</code> - the name of the database</li>
  <li><code>user</code> - the user authorized to access the database</li>
  <li><code>password</code> - the password used to connect to the database</li>
  </ul>
  
  <p>FWIW, this type of issue (and also this lack of support) would make me want to keep the site on the Digital Ocean server, and not move it to Namespro.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T18:55:36.447Z
Answers.LastActivityDate: 2017-12-19T18:55:36.447Z
Answers.UserDisplayName: andrew.welch
Body: <p>I am not a developer nor do I have a technical background, striving to solve a lingering issue with our it/hosting company. This means I unfortunately can't supply code for reference; simply seeking community support if anyone has encountered a similar issue.</p>
  
  <p>We launched a new site that is configuring on the Namespro server but not connecting to the Craft Pro CMS DB. It seems to be a port or permissions error but our hosting company hasn't been able to resolve the issue for a couple of months now. The site has been live and encountered zero issues launching on our developer's digital ocean droplet.</p>
  
  <p>Any thoughts??? Don't want to waste anyone's time but hopeful someone has encountered this issue with Namespro before. </p>
  
  <p>Thank you in advance.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-19T23:13:53.307Z
Comments.Text: Take Craft out of the picture... can you connect with the credentials you're using with a MySQL client?  i.e. Sequel Pro, Navicat, command line, etc.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-20T14:10:02.463Z
Comments.Text: Yes, it is connecting with the MySQL client.
Comments.UserDisplayName: Jody
Tags: <database>
Title: DB not connecting on Namespro linux server
ThreadText: # DB not connecting on Namespro linux server
  
  (Asked by: username_0 on 2017-12-19)
  
  I am not a developer nor do I have a technical background, striving to solve a lingering issue with our it/hosting company. This means I unfortunately can't supply code for reference; simply seeking community support if anyone has encountered a similar issue.
  
  We launched a new site that is configuring on the Namespro server but not connecting to the Craft Pro CMS DB. It seems to be a port or permissions error but our hosting company hasn't been able to resolve the issue for a couple of months now. The site has been live and encountered zero issues launching on our developer's digital ocean droplet.
  
  Any thoughts??? Don't want to waste anyone's time but hopeful someone has encountered this issue with Namespro before.
  
  Thank you in advance.
  
  **Tags:** database
  
  > **Comments:**
  > **username_1**: Take Craft out of the picture... can you connect with the credentials you're using with a MySQL client?  i.e. Sequel Pro, Navicat, command line, etc.  
  > **username_0**: Yes, it is connecting with the MySQL client.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-12-19. Score: 1
  
  So if it can't connect to the database, then one of the following is not right in the `config/db.php` file:
  
  * `server` - usually it's `localhost` but perhaps they provide an external MySQL server?
  * `database` - the name of the database
  * `user` - the user authorized to access the database
  * `password` - the password used to connect to the database
  
  FWIW, this type of issue (and also this lack of support) would make me want to keep the site on the Digital Ocean server, and not move it to Namespro.
  
  
  ---
  
  