Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3422248
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:11:40+00:00 2026-05-18T06:11:40+00:00

I have a Joomla website that works perfectly on localhost. But I have problem

  • 0

I have a Joomla website that works perfectly on localhost.

But I have problem when I try to upload it to online location.

I chose byethost because my boss told that’s the hosting to use.

Now, I upload entire joomla website folder using FTP protocol application (FileZilla).
And then I have to create a database under specific name that always has pre-defined prefix. I believe that’s what bothers me. The name of my database that I export using phpMyAdmin is melodija, but when I create new mySql database online (on a byethost server) I get some weird name like b23_4343_melodija and when I import my existing database in it, the FAIL happens.
“Database Error: Unable to connect to the database:Could not connect to MySQL”

What should I do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T06:11:41+00:00Added an answer on May 18, 2026 at 6:11 am

    This is becouse your configuration problems in the configuration.php file in the root web directory

    in the configuration file check this part

    var $dbtype = 'mysql';
        var $host = 'localhost';
        var $user = 'root';
        var $db = 'wccms_db';
        var $dbprefix = 'jos_';
    

    make sure that you have entered the valid information as your hosting provider provided you

    as u indecated the database name b23_4343_melodija (this may be as your hosting account userdetails name is generated coz the Mysql server is a shared server )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

actually I have my website build with Joomla hosted on hostmonster but all Joomla
i have my joomla website on my localhost. i like to see how it
I have a Joomla website and I observe a problem with some images. In
I have a Joomla website that I've written a custom shopping cart component for.
I have a big Joomla website that was moved from .com to .eu domain.
I have a Joomla Website located at http://www.MikeSilvis.com , and upon going to the
I have a joomla project. In this the text editor is tiny mace. But
i have a big Joomla 1.5 Problem. I'll create my own Gallery Component/PlugIn and
In Joomla 1.5 I would like to have a startpage (that has its own
I have a Joomla website up and running and need to set up a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.