usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/tasks/database_tasks.rb:316:in `block in each_current_configuration’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/tasks/database_tasks.rb:139:in `block in create_current’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/tasks/database_tasks.rb:119:in `create’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/tasks/mysql_database_tasks.rb:14:in `create’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/tasks/mysql_database_tasks.rb:6:in `connection’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_handling.rb:90:in `connection’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_handling.rb:118:in `retrieve_connection’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:1033:in `retrieve_connection’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:382:in `connection’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:538:in `checkout’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:814:in `acquire_connection’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:853:in `try_to_checkout_new_connection’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:874:in `checkout_new_connection’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:830:in `new_connection’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `mysql2_connection’ usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in `new’ usr/local/bundle/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize’ Mysql2::Error::ConnectionError: Access denied for user (using password: NO) Using one for just this sessionĪccess denied for user (using password: NO)Ĭouldn’t create ‘postal’ database. No secret key was specified in the Postal config file. Getting below error when running postal initialize postal initialize Initializing Database is super easy, just execute the following command and you will see database tables were getting created in the output. Password: # generate the credentials within the interface.įrom_address: This is generated automatically by the config initialization. Username: # Complete when Postal is running and you can You can configure this to use a Postal mail server once the # Specify an SMTP server that can be used to send messages from the Postal management # Specify the DNS records that you have configured. # Specify connection details for your RabbitMQ server # Specify the connection details for your MySQL server that will be house the # Specify the connection details for your MySQL database # Specify configuration to the Postal SMTP server # Specify configuration for the Postal web server # The protocol that requests to the management interface should happen on You will see output something like this # The host that the management interface will be available on But if you are on Linux or Mac, just open the terminal and type where xx.x.x.xxx is your server IP address. If you are on you have to get an SSH client for this purpose. In order to start with installation, you will need to connect to the server. I am using Contabo for the purpose of demonstration. Operating System: Ubuntu 22.04 or Ubuntu 20.04.A VPS or cloud with a minimum of 4 GB RAM and 2 vCPU.A domain name from Namecheap or Namesilo.I have tried to make it as simple as possible. It’s because Postal needs several packages to be installed beforehand, it can be used. Postal installation is not very straightforward. It can be used to build in-house SMTP servers just like Mailgun, Sendgrid, Mailchimp, etc. It is an open-source mail server script written in JavaScript and Ruby. Postal is very powerful and backed by a large community of developers. Building a Postal SMTP server to send bulk emails is a good choice for email marketers.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |