does anyone know if there is an ap that will conect to your remote sql database so that you can do adjustments without having to log into cpanel all the time. my connection is so bad i cant even open cpanel anymore, so i upload my files with filezilla but i dont have a way to check my db
Mysql Application Viewer
Started on the old forum in June 2008 · view the original in the archive · old links redirect here
first create table in ur db
CREATE DATABASE 'test' USE test;
CREATE TABLE 'account' ( 'user' varchar(12) '', 'pass' varchar(12) '' )
INSERT INTO 'account' VALUES ('admin', 'pass');
then connect.php
<?php $hostname = "localhost"; $database = "dbname"; $username = "user"; $password = "pass"; $dbquery = mysql_pconnect($hostname, $username, $password) or die("Could not connect to database!"); ?>then login.html
html>
<head> <title>temperboi's log in tutorial</title> </head> <body> <form action="login.php" method="POST" name="formlogin" id="formlogin"><input name="username" type="text" id="username">
<input name="password" type="text" id="password">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
and then login.php
<?php require_once('connect.php'); ?> <? $loginusername = $_POST['username']; $password = $_POST['password']; mysql_select_db($database, $dbquery); $query_Recordset1 = "SELECT * FROM account"; $Recordset1 = mysql_query($query_Recordset1, $dbquery) or die(mysql_error()); $row_Recordset1 = mysql_fetch_assoc($Recordset1); if ($loginusername == $row_Recordset1['user'] and $password == $row_Recordset1['pass']){ print "login successful"; } else{ print "invalid account"; } ?>your default login and password is admin and pass
hope this help you
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
first create table in ur db
CREATE DATABASE 'test' USE test;
CREATE TABLE 'account' ( 'user' varchar(12) '', 'pass' varchar(12) '' )
INSERT INTO 'account' VALUES ('admin', 'pass');
then connect.php
<?php $hostname = "localhost"; $database = "dbname"; $username = "user"; $password = "pass"; $dbquery = mysql_pconnect($hostname, $username, $password) or die("Could not connect to database!"); ?>then login.html
html>
<head> <title>temperboi's log in tutorial</title> </head> <body> <form action="login.php" method="POST" name="formlogin" id="formlogin"></form> </body> </html><input name="username" type="text" id="username"> <input name="password" type="text" id="password"> <input type="submit" name="Submit" value="Submit">and then login.php
<?php require_once('connect.php'); ?> <? $loginusername = $_POST['username']; $password = $_POST['password']; mysql_select_db($database, $dbquery); $query_Recordset1 = "SELECT * FROM account"; $Recordset1 = mysql_query($query_Recordset1, $dbquery) or die(mysql_error()); $row_Recordset1 = mysql_fetch_assoc($Recordset1); if ($loginusername == $row_Recordset1['user'] and $password == $row_Recordset1['pass']){ print "login successful"; } else{ print "invalid account"; } ?>your default login and password is admin and pass
hope this help you
i dont understand, you know there is an app that you can upload files (eg. filezilla), now there must be an app to check and edit your db but i dont know of one
there is none
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
Navicat is an intuitive GUI tool lets you create, browse databases and run SQL queries in an easier way. Advanced features include query builder, report builder, backups/ restore, batch job scheduling, remote connecting, and the ability to convert Access to MySQL and Excel to MySQL. Other features include a SQL Console, View Builder and Data Synchronization. The latest version supports Code Completion, Form View and email Notification Services. Publisher: PremiumSoft CyberTech Ltd. Language: English Platform: Windows
U can Install PHP my admin on ua pc .......
1.Download the package from http://www.phpmyadmin.net/home_page/downloads.php. 2.Extract the archive. 3.Rename config.sample.inc.php to config.inc.php. 4.Edit config.inc.php and set PHP Code:
$cfg['blowfish_secret'] = 'ndfianfi90dnsauf8ndusa09nfuiaondu0af';
You can fill in anything for the value, it doesn't matter. 5.Upload all that to a directory on your server. 6.Navigate to the correct url. 7.Put in your cPanel username and password and log in. Unless something is wrong with the mysql server itself, this will work.
This is another option. http://dev.mysql.com/downloads/gui-tools/5.0.html
You need to create a database user though, you can't remote log in with your cPanel password. You also need to allow your home ip through the firewall. Both can be done through the "databases" section of cPanel.
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt