chinfo
Jul 29 2004, 11:59 AM
| | How long does it take a database you created to be recognized? I want to install phpnuke, but I can't make it connect to the database I created using the name for that particular db. I'd realy appreciate it if you could help me sort this out. |
Reply
znithy
Jul 30 2004, 04:14 PM
I know a little about it. WYSWYC first,using MySQL Databases to create databases,the name will be Yourname_name. then ,using phpMyAdmin--SQL to create tables. eg: 1.adding database znithy_base1 2.giving znithy_base1 Privileges to znithy 3.go to phpMyAdmin--SQL 4.run codes: CREATE TABLE club_posts ( id mediumint(8) unsigned NOT NULL auto_increment, fid mediumint(8) unsigned default '0', nickname varchar(20) NOT NULL default '', email varchar(50) default NULL, ) TYPE=MyISAM; IN phpMyAdmin--SQL console
Reply
Spectre
Jul 30 2004, 05:00 PM
Uh, a database is present and 'recognised' the instant that it is created. As znithy said, you need to make sure you include the 'yourname_' before the database name you are trying to connect to. Also, 'yourname_' before the user name you are using to connect to the database server. From PHP, you can create a MySQL database simply with the mysql_create_db() function. Or, if you wanted to, you could run it as a query, eg: CODE mysql_query("CREATE DATABASE db_name");
Reply
OpaQue
Jul 30 2004, 06:18 PM
Yes! Databases are recognised instantly. However, Whatever databases you create are prefixed with your username, I guess. So may be If you created a database called DAT then try accessing it with the name yourusername_DAT ... You can easily see it.. The other easy way would be use phpmydamin and try connecting with it. Atleast you will be assured that your database is fine. then you may also use the SQL generated by it in your programs.
Reply
KooL
Jul 31 2004, 01:12 AM
how come u cant use the autoinstaller? it makes the database for u, so u dont have to worry about it.
Reply
chinfo
Jul 31 2004, 02:04 AM
The problem is , I know the database is there, and the name I used is totally correct, but my nuke installation can't find it, says it doesn't exist and I tried several times. EDIT: I've finally sorted it out! Eureka
Reply
Spectre
Jul 31 2004, 05:10 AM
Mind sharing what the problem was, for future reference?
Reply
chinfo
Jul 31 2004, 05:34 AM
Ok, you see when you create a database through cPanel in Trap17 you only enter the database name. You have to create a username separately and assign that username to the database you created. I was used to having to create a database and username all in just one step that I overlooked this. So even if you entered all the correct info in phpNuke's config.php file, if the dbuname value (example xxx_yyy) hasn't been granted permission for that particular database through cPanel, it will tell you the database doesn't exist.
Reply
Spectre
Jul 31 2004, 03:23 PM
I'm not sure about the set up here, but generally, an account comes with a default MySQL username, usually just 'yourname'. So you shouldn't have to create a new user account for MySQL and assign its permissions if you don't want too.
Reply
stevey
Jul 31 2004, 03:53 PM
hey with database problems there's always just one simple solution. and that is that you actuall gotta have a good database management programme and the best one so far is phpmyadmin. if you use that i dont think you'll have anyproblems and if you do i think it will let you know.
Reply
Latest Entries
X3r0X
Aug 2 2004, 03:12 AM
And yeah, i did have problems with Fantastico installing a forum (any of them) cause i kept on getting a error page but i use scripts manager now and everything is fine.
Reply
X3r0X
Aug 2 2004, 03:11 AM
acutally it probably was a once of fault because i have no problems with mySql at all
Reply
chinfo
Aug 2 2004, 02:03 AM
QUOTE(Sauron @ Jul 31 2004, 03:23 PM) I'm not sure about the set up here, but generally, an account comes with a default MySQL username, usually just 'yourname'. So you shouldn't have to create a new user account for MySQL and assign its permissions if you don't want too. In this case, you have to, because the cPanel here allows multiple database usernames, its up to you if you grant it with access permission. QUOTE hey with database problems there's always just one simple solution. and that is that you actuall gotta have a good database management programme and the best one so far is phpmyadmin. if you use that i dont think you'll have anyproblems and if you do i think it will let you know. Nope, myphpAdmin has nothing to do here, its use to administer the database. There was no problem with the database itself so it didn't help. The way things are set up in the cPanel database permissions is much easier controlled tthough the MySQL db management tool because its there you make it. QUOTE what is phb ??? Are you asking about PHP in general? or PHPNuke it self?
Reply
Recent Queries:--
cibershot - 67.77 hr back. (1)
-
myphpadmin create database - 88.66 hr back. (1)
Similar Topics
Keywords : sql, database
- Need Help With My Database [resolved]
retrive data as a link (6)
Is The Database System Gone Again? [resolved]
Errors on PHPMyAdmin again (12) I wonder if there is a problem with the PHPMyAdmin system again? When trying to get into it, I once
again get the following: QUOTE Warning: session_write_close() : SQLite: session write query
failed: database is full in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42
Warning: session_write_close() : Failed to write session data (sqlite). Please verify that the
current setting of session.save_path is correct
(/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb) in
/usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42 Warning: Ca....
Database Or Pdf
Best way to list books on my site (1) Hi all, I am not sure if this is the right place to post but I'm sure you'll tell
me if it's not. My problem is this: I have a website where I sell books and it's one of
those simpleton sites where I don't need to know code, I just click icons etc Anyway, I can
upload images to the server and need to have them in different resolutions and link from a thumbnail
to the larger picture. What I am trying to say is I have about 6000 books to display on my
website which is impractical as it takes me about 10 mins to load 1 copy. What is the ....
Phpmyadmin
Create new database: No Privileges (6) i can not make a sql for diff srcipt, but the sricpt i have is php, DJ-cpanel.. all tho i can not
install it the error is like this Creating Database Tables No database selected there a mysql
database is made, but i can not use it for othere stuff... plz note that this is Free script and not
for paid.. is there a way that the myqsul can not use sql other scripts? or it maybe not working...
but i am not sure if the script not working or it can be the server may be down on mysql...? ....
How To Manage The Database For E-books Website In My Sql?
(3) I wanna know how to manage the database for website of e-books with forum in it, n the database is
in mysql. PLZ HELP ME!....
I Need Help Transferring Sql Database?
(3) ok so i am trying to transfer mediawiki's but i am having trouble with exporting importing the
database. I am using phpmyadmin on both sides of the hosts. When i do the import i get this.
QUOTE SQL query: -- -- Database: `apolopedia` -- CREATE DATABASE `apolopedia`
DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; MySQL said: Documentation #1044 - Access
denied for user 'jaenagle'@'localhost' to database 'apolopedia' I tried to
give my user all rights, but it gave me this also. QUOTE SQL query: GRANT A....
Ms-access Database Question
Allowing Web Access to the Informaton (3) Hi. I wanna know if there is a way of accessing an MS-Access database so that my site can extract
data from it and make it avilable online. I have an accounting package that saves everthing in an
MDB file and I want that info available for my clients from whereever thay are. Split Topic ....
Index In A Mysql Database
Make the numbers follow (3) I hope I am on topic here (It does have to do with web design, after all). I have noticed that in a
MySQL database, the 'id' field just keeps its numbers for every record, with the backdraw
that, whenever you remove (a) record(s) from the table, you get your list numbered as eg.
1,5,6,7,12,25 etc. This makes it a bit difficult of keeping track of the number of records in your
table. Is there a way of achieving (either in PHPMyAdmin or through the use of PHP) that the id
field in your table gets sort of 'refreshed and updated' so you have a clearer view....
Transferring From Old Server To New Server "database And Forum" [resolved]
I'm in need of aid from admin in transferring phpbb database and f (5) Ok, I have a question and would preferable ask if its possible as well. Currently I have a phpbb
forum (version 2) placed among another server. Thing is I would like to import it among my trap17
account, as this is the place I intend to stay as its so great. Problem is I have about 40+ users
already registered among that forum and have several mods implemented within it as example Cash Mod,
Jobs Mod, Rank Banners etc and fiblack template. I have tried using a few guides in trying to copy
my database over here but to no avail it is rendered useless. So in short is there a....
What Value Would I Use To Insert This Data?
Help on insertion of data to database? (4) I am learning slowly but surely and I know some of you probably getting tired of my questions. ^^;;
However, I believe one can not learn without asking questions. So.. if I get too bothersome.. just
point me to some books or something. lol XD // Make a MySQL Connection mysql_connect("localhost",
"name", "password") or die(mysql_error()); mysql_select_db("at2927_abq") or die(mysql_error()); //
Insert a row of information into the table "example" mysql_query("INSERT INTO members (pasture)
VALUES('Timmy Mellowman', '23' ) ") or die(mysql_error()); ....
How Do I Connect To Live Database With Php Script?
while being hosted with ComputingHost (6) I am not new to programming. I want to create a form to add some values into my tables, the code
are all working. But I am not sure what is the URL to connect to my site's database. All along,
I have been testing through MAMP, which provides a local copy of mySQL. Can anyone lend me a hand?
My site's URL is http://limetouch.com/ ....
Database With Mysql++
getting mySQL++ to work with trap17 (7) Hi, I'm trying to build an online game and figured the easiest way to do the server list would
be to make a mySQL database for it; however, I use the con() command on the IP i get from pinging my
website and I always get an abnormal program termination; however, it will work with the mySQL on my
own machine. The code is below: CODE #include <iostream> #include <iomanip>
#include <mysql++> #include "pass.h"//holds my password (i program at
school) int main(void) { Connection con("t3jem3_test","....
Best Free Online Game Database
(1) I find this to be an excellent site for free games of all types. It is where I find all my games
/tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />
http://play-free-online-games.com/games/games_all.html Recommended: Blockland....
Php With Simple Csv List As Database, What Do U Think?
(2) I've designed a php website and i used simple CSV file as my database because of few reasons
my client had to pay more to active MySQL database was a simple product list it was easy to
convert product list from existing Excel file to CSV it is easy to make any changes so i have few
files to convert to CSV if i wanna update the website. I know it's less secure specially if
it's an online business (which is not). question is : what are disadvantages? is that slower
than MySQL? is there more possibility of occurring bug? is that less professional? or ......
Forum Database
Forum Database Space and its capacity to hold content (9) Okay, I have a forum which is growing daily. Even though members aren't that many, I'm still
concerned over my database space and its capacity to hold the forum's content. Since post counts
take up database space, the remaining space will decrease daily, albeit by little amounts. Still, it
will decrease anyway and eventually my database for that forum will run out of space. My question
is: 1. Is there any way to possibly create a new database to continue holding the old
database's increasing data? As in, my old database is there but its full and I creat....
Mysql Database Space
(3) How much space does Trap17 offer for MySQL database in terms of MB? I need to know because I intend
to host a forum for my classmates and it will be a gathering place for us. We are all ex students of
a school so the forum will be a handy hangout place to get info and status about each other, since
we're all seperated now. So, the forum takes up 150KB in my database and its increasing daily
due to increasing number of posts and members. The day will come when it hits the 12 MB database
space my current free host offers. So, any input or help is very much appreciate....
Treating .csv Files As Database Data
Showing .CSV data on a web page (2) I use a nice program (which I helped to beta test) called ' Simfatic Forms ' to generate
forms on web pages. The only problem is that it does not (yet) support MySQL databases, it saves the
form data as a .CSV file. Now I was wondering if you can do the same with a .CSV file as you do
with a MySQL databse, ie. displaying the data in that file on a web page which adjusts automatically
as data are added to the file. To clarify: eg. if I make a form to sign a petition online, the data
are saved to a .CSV file every time someone fills in the form, is it now possibl....
Vb Select Mysql Database
(2) I am trying to make a script to pull mysql data into a vb application. This will connect to windows
media player so that people can select a song through my website, and windows media player would
play it through vb automatically. Can anybody help me?....
Daas (database As A Service)
(3) DaaS (Database as a Service) is becoming the next big thing in Data Storage where you just call
API's for all your data needs and forget about DB servers, configs etc. For more about this
read the below links... http://www.amazon.com/gp/browse.html?node=16427261 --> Amazon
started this... http://longjump.com/ --> Yet another provider These services are really
really very useful in terms of developing and deploying web applications. Lots of issues like
setting up new servers and configuring them, upgrading them will all together gets away in these ....
Free Access To Mysql Database Converter
Free Access to MySQL Database Converter (1) QUOTE DB2MYSQL Converter is a totally free software that will convert Microsoft Access Databases
to MySQL. It’s easy fast and accurate MS Access to MySQL Database Converter easily converts database
records of Microsoft MS Access databases to MySQL server. DB2MYSQL is very easy to use, just follow
the simple screens and let the program automatically do all the work for you. We use a very fast
conversion algorithm to provide you with the best possible performance level. Its Features include:
Supports common MySQL data types and attributes. Supports common MS Access c....
Database Migration - Seditio To Joomla
any help is needed (1) Hi guys! I was desperately looking on internet for any help with migrating Seditio database to
Joomla.. I`m admin on site which has more than 2500 members and day by day I get annoyed by
pretty dumb solutions in Seditio.. can anyone tell me how to migrate the seditio site to joomla?
any tutorials on internet on database migration? thanks....
Changes In Phpmyadmin
Access to my database from program not working anymore. (0) I was wondering if something has changed in the MySQL or PHPMyAdmin section of Trap 17. (Hope I am
explaining this correctly). I run a newsletter system on my website and the details of the people
who subscribed are in a MySQL database. To get those data from the database and to send the
newsletter to all subscribers I use a program called "Qios Pelican". Up to now it always worked
perfectly, but now it cannot seem to retrieve data anymore, yet I have not changed anything to my
setup. I use the MySQL OLEDB Provider driver to connect, and in case it helps, here are the ....
Best Database Software?
(1) I'm quite new to creating and managing databases - yesterday I installed Filemaker Pro 9 and my
initial thoughts are that it's amazing! Only just starting to get to grips with it - think
it'll take some time to master it. What Database software do others use and what do people
think of Filemaker Pro? Advantages/Disadvantages? ....
Php Search Engine Script For Mysql Database
(11) A search engine is provided to facilitate the user with undemanding and clear-cut search options.
The search facility includes simple search, search by title, search by word/phrase, ect… Thus, the
user is at a safe distance from the risk of selecting files/folders ambiguously. In addition, a
history of recent searches can be preserved for future perusal. Now
day’s visitors have a large option for his needs on internet and so visitors are not vesting their
time by following the dead links on your site. So a search engine is essential for your....
Truefusion Shoutbox
No Database required! (31) After several tests, i think it's good enough to be released. Please report any problems in
this topic. About the shoutbox: QUOTE It's supports many bbcodes that we're all used
to. Over 60 smileys. No database required for shout storage: All stored on flatfile. XHTML valid.
Installation is basically extract files, and chmod the files "shouts.log", "ipban.log",
"wordfilter.log" 666. Compatible with standard-compliant browsers, and Internet Explorer. Admin
Cpanel: Edit/delete shouts, IP ban/unban, Word Filter. Users can delete/edit their shouts within a....
Quick Question
Is there a limit on the size of the MySQL database? (8) Question's in the title!....
Can You Add Images Into A Mysql Database?
Using Php? (20) I'm learning php in class right now, but I'm still not that good at it, what I'm
wondering is when I write the php so that it can connect with a database, can I at the same time
have it that it is able to display back images that I choose. Like, I want a search feature, where
you can search for a keyword, and it will bring back a list of all the possible entries with that
keyword, but each of these entries will have a photo associated with it. Now, do I put these image
files directly into the database, or do I write the code to link them from my files to th....
Connect To Remote Oracle Database With Toad
i'm lost (6) Hey gang, long time no see, my bad! Anyway, I got me a question. Does anybody know how to
connect to a remote oracle database using toad? When I read the docs for toad I get the impression
that I have to have a local oracle installation in order to use toad, but that just seems silly. I
guess I'm stuck at the point of trying to figure out how to tell toad where to look for all of
the configuration information it needs for the connection if I don't have any "Oracle Home"
directories. :crosses fingers: Peace!....
Mysql Database Size
related to the free database space (6) hi all! this is my first post /biggrin.gif' border='0' style='vertical-align:middle'
alt='biggrin.gif' /> and i have a doubt, how much mysql space i am allowed to use... i mean how
much is available for my free account....
Import From Excel File Into Mysql Database
(7) Has anyone tried using the excel import function that comes with phpmyadmin
http://www.phpmyadmin.net/home_page/ - it does not require any additional plug-ins or scripts and
is fairly straightforward to use. In phpmyadmin, if you click on the database table which you wish
to import the data to , there is a link on the bottom left corner which says "insert data from a
text file into the table" - although it says text file it still can be used to import an excel file.
When you click on this link you will be taken to a page where you will be asked for the file name
(the....
Looking for sql, database
|
|
Searching Video's for sql, database
|
advertisement
|
|