Regarding the connection between an FTP Server and a Database Server - mysql

Good day, to make a long story short I was given access to an FTP server in order to upload files to an online website using FileZilla and was given the following:
FTP Username
FTP Password
FTP Server
Port Number
When I tried to asked our "consultant" about access to details to connect to a database server, I was told that I should know how to get in since I was given FTP server access.
However when I downloaded MySQL Workbench to try and edit the database, the the details (or parameters) are different to what I was given to access the FTP.
I would just like to know if I could access the database using FTP credentials or if both need completely separate details to connect. Thanks for any help/advice.
FTP (FileZilla):
SQL (MySQL Workbench):
EDIT:
I use xampp in order to edit an offline version of the database to test before I upload new code into filezilla. I added new columns with ease offline but It does not show online.
For more information:
I have another person editing database info on the online website
The offline version information is completely different and does not update.
I have added a new column in the offline database but there is no update on the website's online version.
This means that there is an online database that I cannot access since I do not have credentials.

FTP and database accesses are two completely different and unrelated things.
While it is possible that hostname, username and password might be the same for both (while still technically separate), port number must be different.
Maybe you are not supposed to have a database access. It may not be available remotely. Maybe only the server-side scripts can access the database (locally – on the server).

Related

How to create a WordPress website when the hosting service doesn't include a CPanel or a remote access to MySQL?

How to create a WordPress website when the hosting package that was given by T-Home (T-Mobile) only includes a FTP password and FTP username, but doesn't include an access to a hosting panel or a remote access to MySQL?
If you've been provided a MySQL database, but you just can't access it remotely then this shouldn't be a problem. You can just upload the Wordpress installation files via FTP and then open your website in your browser and you can configure everything with the WordPress installation wizard, which should automatically start once you uploaded everything to your webspace.
If your provider hasn't provided you a MySQL database I see no way to make this work. (You can create a Blog on http://wordpress.com though).
That is correct.
You can download WordPress installation zip in your local system, extract it and upload it on server using FTP account.
MySQL is generally installed in same server and you can use localhost as server name (no need to have remote access). Most of the providers do not provide remote mysql access to avoid security issues.
Once you have uploaded WordPress files on server, access your site with domain.com (if the domain is pointing to same server) OR if it does not point to server, you can access it with temporary URL and proceed with the installation steps.

Is it possible to access an online MySQL database in Access 2013?

I have an online MySQL database that I use for the backend to my website. However to get to the database, I have to login to my hosting provider, then log in to cPanel, and then log into phpMyAdmin, which is quite slow to use.
I would like to be able to access or stream the database to Access so I could download, edit and upload sections of it. Is this possible?
Technically, nothing forbid you to make some linked tables in Access toward an online MySQL database using the Mysql ODBC driver. However, for security purpose, most hosting services will block anything that is not a direct HTML access to a web site at their firewall level. Therefore, you have to ask your provider if such an access is allowed and if yes, what are the connection parameters.

JustHost Cpanel - MySQL username/password access remotely

Not sure if this is the right forum for me to ask this question.
But I'm wondering does anyone having difficult using JustHost as web hosting provider in establishing remote access to their mysql database server environment?
What happened recently was that I'm trying to use mySQL ODBC driver connector via MS access to access their mysql database.
Originally I know what my username/password is and JustHost(well.. at least that's what I think they normally do) is set this similar setup for all other CPanel access such as your FTP, email, billing info, etc, etc.
Thus I tried using my username/password to logon into the mysql database via MS ACCESS's odbc connector. But I kept on being rejected to log in.
I started whether the password I used to log on my CPanel services would be different that the one used to access mysql via PHPAdmin window. Thus with that in mind, I forwarded the query to Justhost helpdeskteam.
Unfortunately they don't have a clue about this.
Thus that's what brought me here in this forum, begging this question - does anybody know what's the appropriate approach in remotely connecting mysql database environment via a web hosting provider such as Justhost.com?
Sorry for the elongated story.
Thought it would help to state the meaningfulness of my supposedly-trivial problem.
Log in to your JustHost account and scroll down to Remote MySQL. You need to add the IP address(es) of the remote server(s) to the list of Access Hosts.

SFTP authentication with credentials in Wordpress MySQL database?

I'm trying to find a solution that will allow for a user to connect to a server via SFTP using a provided username/key combination (stored in a Wordpress installation's MySQL database), without needing to constantly keep two or more separate systems in sync.
This is the MySQL query that gets two columns that have the username of a user and the api key, which the user would type in to their SFTP client as their password:
SELECT m.meta_value, u.user_login
FROM wp_users AS u, wp_usermeta AS m
WHERE m.user_id = u.ID AND m.meta_key = "user_apikey";
As far as the file system goes, there is a folder which has the same name as a user's username for each user, all in the same directory. This user's folder may or may not already exist. When a user makes an SFTP connection to the server, they should be shown only the contents of that folder once authenticated.
Hopefully someone knows of a simple solution to this problem. The only limitation I have is that this must run on a CentOS box, but I'm pretty open to any tools and languages.
Rather than try to get the OS and the underlying file system and SFTP server to use Wordpress as their user source, you will likely have much better luck getting Wordpress to use the OS as its user source.
One route to get there would be to use an LDAP server. Most OSs (and SFTP servers and the file system) can integrate with an LDAP server for authentication, and Wordpress can as well.
Going the route of trying to get the other services to look to Wordpress is just asking for trouble from a security standpoint.
It seems as though I could use Proftpd as an FTP server and add modules to configure it with the following modules:
Proftpd MySQL authentication using mod_sql
Proftpd SFTP using mod_sftp

connect to (local) with different windows login

I have an odd scenario.
I inherited a box that has SQL Server 2008 R2 on it already. The previous user connected to the (local) database with Windows Authentication using their Windows login.
I have a different Windows login. Is there any way for me to be able to log into the (local) database? The old user is no longer around, I don't know their password.
The easiest way is to get the other users password changed, and then login as that person, although this is only appropriate if you're connecting to a domain, using Active Directory etc.
Alternatively, if you are in the local administrators group, or can get yourself added to it, it's quite likely you can connect to the SQL Server instance as yourself with admin rights.
Finally... if you just want access to a particular database, copy the mdf and ldf files, and re-attach them to another instance.