Open Database Access

Mar 23, 2007

I want to develop a desktop-based application for content management for a customer. The problem is that every host I have found has a firewall that blocks any server except the web server from accessing the database.

On a programmatic level does anyone know of a way around this or, even better, a GOOD host that will allow me to do this?

What are the real risks involved with direct database access? I'm looking for relatively cheap shared hosting and likely cannot afford dedicated hosting.

View 9 Replies


ADVERTISEMENT

Phpmyadmin :: SQLite: Failed To Open/create Session Database

May 12, 2008

Warning: session_start() [function.session-start]: SQLite: failed to open/create session database `/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb' - malformed database schema - unable to open a temporary database file for storing temporary tables in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/session.inc.php on line 86

Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: sqlite (path: /var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/session.inc.php on line 86

I get that error in cPanel when I click to go to phpmyadmin.

View 10 Replies View Related

Unable To Open Database For Writing While Starting Urchin Scheduler Daemon

Jul 30, 2007

I got this while trying to force the urchin log processing:

Code:
WARNING: (7024-323-2398) Could not delete backup file - check permissions.
DETAIL: /home/virtual/mysite.com/var/log/httpd/access_log : Permission denied
All permissions are OK.. I dont know what is happening.

Also, scheduler can not start:

Code:
[root@srv1php.com:~]sudo -u apache ./urchinctl start
Urchin webserver is already running

WARNING: (7004-557-91) Unable to open database for writing - check permissions.
DETAIL: Permission denied

Im using Ensim Pro 10.

View 2 Replies View Related

How To Secure Access To MySQL Database

Jan 28, 2008

What can I do to secure access to my MySQL database to stop it from getting compromised from hackers?

Is there any way I can restrict access to the MySQL database to my IP only?

The database is for an IPB 2.3.4 forum and the username/password are stored in a conf_global.php file that is CHMODed 0444.

View 5 Replies View Related

Copying (MySQL) Database Without Panel Access.

Mar 7, 2007

A customer would like to move his hosting from another host to me. But the other host does not want to cooperate and give me access to the panel or files. Threw the customer I did get the ftp information, and within the config file I have the database username and password.

How is it possible to copy the database, without having the hosting panel access?

View 8 Replies View Related

Plesk 12.x / Linux :: CLI Database Server Settings - Access Control

Jun 10, 2015

i would like to change the access control for datebase users via CL: command: /usr/local/psa/bin/database --update-dbuser web1_presta -server localhost:3306 reply: The database user was successfully updated. examination: mysql> select host, user from mysql.user;

+-----------+------------------+
| host | user |
+-----------+------------------+
| % | web1_presta |
| localhost | web1_oxid |
| localhost | web1_presta |
| localhost | web1_shopware |
| localhost | web1_wp |
+-----------+------------------+

Only when using the GUI:
home -> Subscriptions -> Website & Domains -> Databases -> Users -> web1_wp -> Access control
-> from Allow remote connections from any host
-> to Allow local connections only

is also the user adjusted:
mysql> select host, user from mysql.user;
+-----------+------------------+
| host | user |
+-----------+------------------+
| localhost | web1_oxid |
| localhost | web1_presta |
| localhost | web1_shopware |
| localhost | web1_wp |
+-----------+------------------+

View 2 Replies View Related

Plesk 11.x / Linux :: Unable To Connect To Database / Access Denied For User

Nov 9, 2013

when I try to access to my plesk I obtain:

ERROR: PleskFatalException: Unable to connect to database: Access denied for user 'admin'@'localhost' to database 'psa' (auth.php:142).

If I restart with ssh /etc/init.d/psa start and I check plesk_11.5.30_reset_instance_data.log

I note: ERROR 1044 (42000): Access denied for user 'admin'@'localhost' to database 'mysql'.

View 10 Replies View Related

Plesk 11.x / Windows :: How To Limit Access To Few IP Address To Access Port 8443 On Firewall

Aug 28, 2012

How can I allow only one ip or a list of ip addresses to access port 8443.I need to limit access this port to few ip addresses and not everyone

View 6 Replies View Related

Plesk 12.x / Linux :: Unknown Database Atmail When Selecting Database

Nov 20, 2014

When I update servers via CLI autoinstaller, I always (afair) get this mysqldump error message:

Code:

Stopping psa... * Stopping Plesk engine pool manager sw-engine-fpm
...done.
done
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.

mysqldump: Got error: 1049: Unknown database 'atmail' when selecting the database

===> Cumulative APS controller database (apsc) upgrade has been started.
===> Cumulative upgrade of APS controller database has been completed.
===> Cumulative Plesk database upgrade (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).
===> Cumulative upgrade of Plesk database (revertable stage) has been completed.
Reading package lists...

There is no database "atmail" on any of our Plesk servers. Simple solution should be to first check if the DB exists before performing actions on it.As a bonus, perhaps it would be possible to suppress the warning about mysql.event.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved