I’ve found the issue but don’t know why it was giving me the error establishing a database connection.
But it’s fixed by changing entries in three tables what happened was that moved WordPress to new server with different domain and there were instances of the old domain.
Thank you!
Related Posts:
- How to Layer 7 Load Balance WordPress Backend and Frontend?
- Is there any filter to disable the total fronted in WordPress
- How to change how long items are kept in the trash?
- How to use Yoast SEO backend in english even if WPLANG variable is not english?
- Why are my frontend theme styles bleeding into the backend?
- Why am I unable to login after converting to www?
- How to make the front-end RTL without changing the admin panel language?
- WordPress (behind HAProxy and Jetty), not multisite, in sub folder – and /en/wp-admin/ keeps redirecting to /wp-admin/
- 404 redirect wp-login and wp-admin after changing login url [closed]
- Admin menu in front-end
- Cookie Domain is preventing Admin login
- Why when I try to access to this old WordPress site it is opened the installation page?
- Could not override the url in wp-config file
- WP-Admin throws 404 after changing wp-config Salts
- wp-config.php not affecting my site
- Error establishing a database connection – after updating DNS
- is_admin() conditional statement
- plugin: ‘init’ hook, check if we’re not in admin
- No wp-admin, wp-config, or .htaccess folder/file
- Redirect users based on their roles, is_admin()
- How to restrict dashboard access to Admins only?
- How to disable the “Post Lock/Edit Lock”?
- How can I control the position in the admin menu of items added by plugins?
- I’m getting a 404 message when I try to access wpadmin
- wordpress wp-admin css not loading
- Check if user is admin by user ID
- Unable to login to my wordpress site. reauth=1 redirection loop
- wp_list_tables bulk actions
- Highlight custom widgets in the admin area?
- WP-Admin not working properly at WordPress multisite with subdirectories
- Can I add custom attributes while adding inline scripts?
- create users to site with specific language
- Hide a page in the admin end without a plugin?
- Prevent from deleting any user role but subscriber
- How to set custom editor style when editing the homepage?
- How to disable or hide “collapse menu”
- Disable sticky posts feature
- Hide username from users list
- Remove HTTP: from the site URL and just keep // in it
- Which actions can update/change .php files?
- Blank page for edit.php
- Upload media file problem
- comment_form – show all fields when logged in
- Always show same size tags for Tag Cloud in WordPress Admin
- Using /wp-admin works, using /login gives a 404. Why?
- Using List Table Filters for ALL Custom Post Types
- In the WordPress admin, how can I find out which page (themes.php, widgets.php, etc.) I’m on?
- What is the practical difference between is_admin() and is_blog_admin()?
- How do I set the homepage to the WordPress Admin Dashboard login?
- Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well
- Reusable content block
- Wrong wp-admin URL
- What is wrong with this code to remove wp admin bar from one page
- Admin search not working for any type of post
- Adding Custom Capabilites
- Display checked in checkbox theme admin page when reloaded
- Why is unfiltered_upload not working despite being enabled?
- List All Enqueued Scripts and Styles
- Add menu option to “New Post” menu in admin bar
- Linking table cells to network folders
- How can I disable all external url Google in WordPress backend?
- if it possible to get all notifications from all plugins and core?
- wp-admin page redirecting to 404 error page
- ASCII to Unicode conversion and then save the data into database using WP post editor field
- How to replace “Password Protected” text with icon in Admin
- 100+ terms in any taxonomy slows down post updates?
- Is WordPress Suitable for my site?
- Disable or lock parent pages from being edited in wordpress admin
- How login is possible, if I deny login page via .htaccess with allow ip
- Unable to display WordPress admin bar in the frontend as an admin
- Delete the “wp-admin” folder – what could go wrong?
- unsuccessful attempt to change domains- wordpress re-routing to old domain
- How can I limit page parent dropdown to show only author’s own pages?
- how can I change the font on Edit Post area (admin dashboard)
- Icons are missing from Visual Editor
- how can provide access to wp_admin page for non wp_users?
- Creating custom admin panel pages without making a plugin?
- jQuery UI Datepicker error
- Can’t connect to WP-Admin, blank error message
- Can’t access wp-admin after http to https change
- Programtically selecting image URL in Media Library modal
- wp-admin: “Sorry, you are not allowed to access this page.”
- How to access wordpress from domainB which is installed at domainA
- How to optimize the opening speed of admin panel?
- WordPress /wp-admin redirect to wrong port in docker
- Cannot access wp-admin after migration to another place
- How do I fix the 403 error for wp-admin/admin-ajax.php?
- Strange Popup Ad on my WordPress Admin Dashboard
- HELP! Frontend User Profile Edit Won’t Update Email
- Trying to list user and post information from (wp_includes/post.php ) causes Fatal error
- Unable to Add User after Site Migration
- Get Post ID in Admin Edit screen otherwise generate it?
- Cannot login in WordPress even after changing hash password in phpmyadmin
- WordPress User profile page fields missing
- Trying to use and understand JSON API and get_posts
- Customize a WP_Posts_List_Table class
- I want to know if it’s good for SEO [closed]
- My website’s wp-admin redirects to another website’s wp-admin after pointing the site url to a subdirectiory
- Help please i cant login to wordpress panel [closed]
- Extend user search in the Wp backend area on the users.php page to allow for searching by email domain and role from the “users search” input box