Access my websites database?

Hi any help will be appreciated. I have recently had my linode transferred from a digital agency but they will not tell me how to access its database. I am running Ubuntu server.

I have tried researching mySQL and phpmyadmin and linode have said i should be able to access the database via: user root and the root password: mysql -u root -p but i cant achieve this.

Please can you point me in the right direction as i have 15GB in the dtabase which needs claring out.

Many thanks
David

3 Replies

@Chusaroo --

You write:

I have tried researching mySQL and phpmyadmin and linode have said i should be able to access the database via: user root and the root password: mysql -u root -p but i cant achieve this.

Are you sure the mysql db administrator's account name is root? Note that this account name can be different than the Linode's superuser login name (which also happens to be root).

It would be helpful if you posted more information…like the results of your attempts. Post your transcript between lines of 3 backticks (```) to turn off interpretation of special characters by Linode's Markdown processor.

-- sw

If you can post more information about it, then I will try to better assist you.

One thing, you must know that without Database Username and Password you can't access it.

If you have a proper backup of your Database and system files, then you reconfigure MySQL server.

Thanks,

Thank you all for your replies. The digital agency seem reluctant to give me the database credentials.

Am i able to set up the mySQL database now so all the data in my website including images are backed up from fresh?

Apologies if i seem clueless i am a newbie to all this!!

David

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct