Where (address) can i find my wp data base that was one touch install?

I used the one touch to install my wp site on my inode. Can someone tell me where i can find the db that was auto installed. And do I have to install myphp to access it or is it accesible via command line..
My site is located at /var/www/html and my wp site in question is located at /var/www/wordpress.. and the database name is wordpressdb and the html and wordpress site are on two separate linodes.

Thanks

2 Replies

Look at the file /etc/mysql/my.cnf… It will look something like this:

#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
[mysqld]
#
# * Basic Settings
#
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/english
skip-external-locking
...

Your databases are stored in the directory given by datadir.

-- sw

thank you that is very useful…

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