Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 05-21-2006, 12:21 AM   #1 (permalink)
Inactive
 
Join Date: 01-15-06
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

GRut98034 is liked by many
Exclamation problem adding user to msql

i get this when i add a user to a database
Connection StringsPerl $dbh = DBI->connect("DBI:mysql:sherrut5_shop:remotemysqlhost" ,"_","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("remotemysqlhost", "_", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("_");

how can i fix this?

i left the user name out on purpose
GRut98034 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 05-21-2006, 12:42 AM   #2 (permalink)
v7n Mentor
 
digiweb's Avatar
 
Join Date: 04-07-06
Location: Manchester, NH
Posts: 770
iTrader: 1 / 100%
digiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of light
Send a message via Yahoo to digiweb Send a message via Skype™ to digiweb
I don't understand, the error is that it spits out a line of code?
digiweb is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-23-2006, 05:39 AM   #3 (permalink)
Inactive
 
kenkam's Avatar
 
Join Date: 05-20-06
Posts: 40
iTrader: 0 / 0%
Latest Blog:
Revelations: Part 1

kenkam is a jewel in the roughkenkam is a jewel in the roughkenkam is a jewel in the roughkenkam is a jewel in the roughkenkam is a jewel in the roughkenkam is a jewel in the rough
It seems to me that you haven't put the password where it says passwordhere and possibly every other parameters .

Is there a manual for that piece of code? I am guessing you have to set your host and password in that line exist. Not sure what the underscore is though.
kenkam is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-23-2006, 02:13 PM   #4 (permalink)
Banned
 
Join Date: 04-24-06
Posts: 188
iTrader: 0 / 0%
Latest Blog:
None

ablaye is just really niceablaye is just really niceablaye is just really niceablaye is just really niceablaye is just really niceablaye is just really niceablaye is just really niceablaye is just really niceablaye is just really niceablaye is just really nice
You need to give us more info if u want us to be able to help you. Did you add a host address (localhost or if it is a remote hostname, you have to specify the IP or the URL) a password and a username to your MySQL connection string???
ablaye is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dreamweaver problem - adding sidelinks to a library/asset natv Web Design Lobby 0 09-27-2007 07:19 AM
problem with IE not doing the same as FF - adding up $ CircleOfLinks Coding Forum 1 08-18-2007 06:26 PM
Problem adding signature here ebusinesstutor Marketing Forum 5 04-14-2007 08:23 AM
Problem with my User Panel Ashvin SEO Forum 2 05-17-2006 07:32 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:33 PM.
© Copyright 2008 V7 Inc

Click Here