Setting up PHP database

Hey all-
I am trying to find a tutorial that can walk me through setting up a remote database on a server such as Godaddy.  I completed David Powers' "building your first dynamic website" and I am trying to find some instruction on how to do the same thing but on a remote server.
Sorry if I asked this question in the wrong place.  I'm very new to the Adobe forum...
Warren

Ken Wright Consulting wrote:
- I'm using MySQL ODBC Driver 5.1
Dreamweaver doesn't use the MySQL ODBC driver. It uses the PHP MySQL extension, which is not enabled by default in PHP.
The method of enabling the MySQL extension depends on how you installed PHP. However you can check whether it's enabled by running <?php phpinfo(); ?> in a PHP page. Scroll down the page of configuration details to see if MySQL is listed.

Similar Messages

  • Setting up php

    i am trying desperately to set up php and can't get there without some serious help on one issue. ive gotten php, phpmyadmin, mysql, and apache running. BUT i can't figure out how to get rid of the following warning that appears on the phpmyadmin home page:
    Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole.
    i dont know where the configuration file is, or within that file where the root & password need to be modified. please someone help me out. im almost up and running and this obstacle has frustratingly kept me from learning php for months.
    thanks in advance

    MySql is telling you that the 'root' user does not have a password assigned to it. The 'root' password is unassigned to access the program on install. You should definately change this asap.
    Go to your terminal app in utilities folder and launch it.
    1. Start the MySQL monitor by typing: mysql -uroot.
    You should now be connected to the monitor and it will give you a welcome message.
    2. The comand prompt should have chaned to 'mysql>'
    User rights for users are stored in a database called 'mysql' You need to change to it to change the 'root' account's access details.
    3. at the prompt type: use mysql.
    A message displays 'database changed'
    4 To give the root user a password type the following (and replace yourpwd with your own password). Be carefull here, the password is enclosed between two single quotes and a semicolon at the very end of the query. The semicolon tells MySQL that it is the end of the query.
    Type: UPDATE user SET password = PASSWORD('yourpwd') WHERE user = 'root';
    5. To remove anonymous access to MySQL is next.
    Be carefull here too, two single quotes next to each other (no spaces) at the end of the query and followed by a semicolon.
    Type: DELETE FROM user WHERE user = '';
    6. Now flush the privileges.
    Type: FLUSH PRIVILEGES;
    Test it now by closing the monitor.
    Type: exit
    Close the terminal window and open a new one.
    Now try to get into the monitor again by typing at the prompt: mysql -uroot
    It should not let you in this time.
    To gain acces in future type: mysql -uroot -p
    It should ask you for the password you set up as described above. Enter it and press return. You should be in!
    Your MySQL should now be more secure with an asigned password to the root account.
    Now go back to the web interface of installing MySQL and specify the user as 'root' and in the password field add your new password you gave the 'root' account as specified above. That warning should now be history.
    Remeber! Do not delete the database named 'mysql' because all the user accounts and access levels are stored there.
    Hope this helped you.
    Regards,
    Q.

  • Setting up a database

    sorry, i am new to this. i am trying to learn how to use sql and a databases. so i am trying to copy a sql code to my php database, but i keep on getting an error message.  attached is the place I am trying to paste it into, and the error that i receive.  i am setting up a user login/registration page.
    Message was edited by: future-architect

    ok, I did so, getting the following code:
    CREATE TABLE `users` (
      `id` bigint(20) NOT NULL auto_increment,
      `md5_id` varchar(200) collate latin1_general_ci NOT NULL default ,
      `full_name` tinytext collate latin1_general_ci NOT NULL,
      `user_name` varchar(200) collate latin1_general_ci NOT NULL default ,
      `user_email` varchar(220) collate latin1_general_ci NOT NULL default ,
      `user_level` tinyint(4) NOT NULL default '1',
      `pwd` varchar(220) collate latin1_general_ci NOT NULL default ,
      `address` text collate latin1_general_ci NOT NULL,
      `country` varchar(200) collate latin1_general_ci NOT NULL default ,
      `tel` varchar(200) collate latin1_general_ci NOT NULL default ,
      `fax` varchar(200) collate latin1_general_ci NOT NULL default ,
      `website` text collate latin1_general_ci NOT NULL,
      `date` date NOT NULL default '0000-00-00',
      `users_ip` varchar(200) collate latin1_general_ci NOT NULL default ,
      `approved` int(1) NOT NULL default '0',
      `activation_code` int(10) NOT NULL default '0',
      `banned` int(1) NOT NULL default '0',
      `ckey` varchar(220) collate latin1_general_ci NOT NULL default ,
      `ctime` varchar(220) collate latin1_general_ci NOT NULL default ,
      PRIMARY KEY  (`id`),
      UNIQUE KEY `user_email` (`user_email`),
      FULLTEXT KEY `idx_search` (`full_name`,`address`,`user_email`,`user_name`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=55 ;
    INSERT INTO `users` VALUES (54, '', 'admin', 'admin', 'admin@localhost', 5, '4c09e75fa6fe36038ac240e9e4e0126cedef6d8c85cf0a1ae', 'admin', 'Switzerland', '4433093999', '', '', 0x323031302d30352d3034, '', 1, 0, 0, 'uqd1y4v', '1272992243');
    It still does not work.  I think that those quotations were just suppose to show that those values were empty... unless i missed something...

  • Setting up mySQL database

    I'm trying to set up mySQL database on my mid 2009 15" macbook pro running snow leopard.
    I downloaded the dmg file and installed all three files on the dmg.
    I can't connect to the database through the terminal or through system preference panel.
    Does anyone have an idiot guide or walkthrough for setting up the database?

    I'm not sure if this is going to help you, I think I used it at the time I set up MySQL:
    http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/
    And there is also this:
    https://discussions.apple.com/message/12191291#12191291

  • Help needed in setting up Japanese Database

    Hi there,
    Help needed in setting up Japanese Database.
    I created database with UTF8 character set on Sun Solaris O/S.
    Oracle version 8.1.7.
    I am accessing the DB through SQL*Plus (Windows client).
    I downloaded the Japanese font on client side and also set the NLS_LANG environment variable to Japanese_Japan.UTF8. Still, I am not able to view Japanese characters. O/S on client side is Windows 2000 professional (English). Is O/S (client) need to be Japanese O/S? When I try to retrieve sysdate, its displaying in Japanese but not all characters in Japanese. Can anyone help me out how to set up the client and is there any parameters to be setup at server side? I also tried to insert japanese characters into table through client, but it displaying as "?????" characters. Any help in this regard is appreciated.
    Thanks in advance,
    -Shankar

    lol
    your program is working just fine.
    do you know what accept does? if not read below.
    serversocket.accept() is where java stops and waits for a (client)socket to connect to it.
    only after a socket has connected wil the program continue.
    try putting the accept() in its own little thread and let it wait there while your program continues in another thread

  • Current Patch Set for Oracle Database Release 11.2

    Hi
    I am upgrading oracle 10G to 11GR2 in AIX 5.3 Environment with SAP ECC6 , I have just just installled Oracle 11.2.0.1.0 according to the "Database Upgrade Guide -Upgrade to Oracle Database 11g Release 2 (11.2): UNIX". After database software installation , in upgrade manual in section 3.4.4 it says, you need to install current patch set for oracle database 11g R2 and referencing a SAP note 1431799.
    I have just read note 1431799 which says Current Patch Set for Oracle Database Release 11.2 is not generally available for SAP customers until December 2010, also I donu2019t find the note 1522330 as mentioned in 1431799.
    Please let me know how I can get current patch set to apply with Oracle 11.2.0.1.0 (Is it in SAP service market place?)
    I also want to upgrade my installation to oracle 11.2.0.2, please let me know where I get the patch set to upgrade from 11.2.0.1.0 to 11.2.0.2,
    or
    I have to live with 11.2.0.1.0 and apply SAP Bundle Patch ( SBP)

    Abu Al MAmun,
    I understand from your posts that you recently upgraded to 11.2.0.2.
    I am having the same difficulty, of finding the current patch set for 11.2. Could you please let me know how you worked around it?
    Thanks,
    Siri
    Hello Everyone,
    I did read the post on to how you have to install the current patch set for 11.2.
    But honestly, it pretty much flew over my head.
    I am trying to upgrade our SAP AIX 64 bit test system from Oracle 10.2.0.4 to 11.2.0.2.
    And so far I have downloaded all the required sw for the upgrade, except for the current patch set 11.2.
    This is what I have right now:
    1) Oracle 11.2 AIX 64 bit upgrade sw - 51038805_part 1 to 51038805_part 7 and 51039800.
    2) Database Patches -->Oracle 11.2.0.2 -->
    All they have here is
    a. Database RDMBS - SAP_112020_201012_AIX.zip and b. SAP_112020_201101_AIX.zip
    b. OPatch - OPatch_11201_Generic_v3.zip and mopatch-2_1_6.zip
    c. Database Vault - DV - >Generic - p9656644_112020_Generic.zip
    If I am not wrong, the Database RDBMS files are nothing but the SAP Bundle Patches that have to be installed after installing the currrent patch set 11.2.0.2 using MOPatch.
    But I did not find the currrent patch set 11.2.0.2.
    Could someone please explain the process to me in detail? This being my first time , I am finding it a bit hard to catch up with some of the stuff.
    Thank You!
    Siri

  • Need Help with IMG+PHP Database+Selective Display

    The problem is really a lot simpler than I made it sounds to
    be, though I fear the answer might be vice versa.
    I need to have pictures appear when they exist. That's all.
    Here is where I am at:
    I have created a php database for a news announcement page.
    In that database, I have a column named "img" whose default value
    is "null"
    Whenever I actually have a picture corrosponding to a
    particular news, the "img" column will change to the file name of
    that image, which I will then extract.
    So basically... if news A, img = null... no picture. news B
    img = b... then yes picture. very simple concept for database.
    Here's what I can't do.
    When I read the database from DW, how can I make it so that
    when it reads a "null" it won't insert a picture and vice versa? I
    figure it definitely has to do with the "if" statement (duh...)
    I know how to make text do that effect...
    <? if $row_data['text'] != null
    echo("i have data");
    ?>
    but how do i do it with an image? I tried putting the image
    tag to replace the entire "echo" line, but that's apparently not
    how you do it. I tried putting it inside "echo", but that doesn't
    seem to be it either.
    also, as a premise, all pictures are associated with only 1
    particular news.
    which i wrote something similar to this:
    <img src="<?php echo $row_data['img']; ?>.jpg"
    width="200" height="200" />
    Um, basically... I need THAT to fit into the IF statement. So
    thanks in advance.

    if (!is_null($row_data['img']))
    echo '<img src="',$row_data['img'],'.jpg" width="200"
    height="200" />';
    Let's break that down into the following:
    echo '<img src="' ;
    echo $row_data['img'] ;
    echo '.jpg" width="200" height="200" />' ;
    When you string multiple echoes together use a comma between
    them,. so now
    we have:
    echo '<img src="',$row_data['img'],'.jpg" width="200"
    height="200" />';
    (You may also use a period, but my understanding is the
    period is less
    efficient.)
    I only have single quotes in my PHP statements. The double
    quotes you see
    are part of what will be the rendered HTML.
    You may generally use the single quote or double quote
    interchangeably with
    few exceptions such as having double quotes as part of the
    text or vice
    versa among others. You can probably escape the characters
    too, but lets
    keep this simple for now.
    If I misspoke I am sure Micha will be sure to correct me.
    IMO The best thing to do is learn by trial and error, and
    your best resource
    on the net for PHP is probably the php website. www.php.net
    "Bih Wang" <[email protected]> wrote in
    message
    news:gr3p0m$293$[email protected]..
    > thanks so much!
    >
    > is how i interpret the code correct?
    >
    > if (!is_null($row_data['img'])) ---> if img is false
    > echo <--- maybe i been using this without
    understanding it correctly...
    > echo
    > means to display on screen but not limited to text
    right?
    >
    > and the rest is where you lost me... i don't get the
    punctuations
    >
    > bracket double quote (" is for text right?
    > so single quote ' means to accept a php function or html
    code?
    >
    > so can i do this?
    > '<div bob>blah'
    > and have div bob appear only when the conditions are
    met?
    >
    > and external data is define by comma?
    > such as... if i pre-define value "x"
    > so i can do img src=',x,'.jpg?
    >
    > thanks again! is there a tutorial i can read for these?
    >
    >

  • ANN: Setting up PHP and MySQL for newbies!

    We've recently released two new solution recipes to help
    designers make the
    jump to building dynamic sites. Each solution recipe
    describes step by step
    how to set up PHP and MySQL on your XP or Vista systems. You
    can find them
    on the Solution Recipe page:
    Installing PHP and MySQL on Windows Vista
    Installing PHP and MySQL on Windows XP
    http://www.webassist.com/professional/products/solutionrecipes.asp
    Each of these Solution Recipes include PDFs that you can
    print out or read
    on screen.
    We also have steps outlined for the Mac in PDF format, one
    for 10.4.x and
    the other for 10.5.x:
    10.4.x:
    http://www.webassist.com/media/professional/support/PDFs/InstallingPHP-OSX-10-4_PDF.pdf
    10.5.x:
    http://www.webassist.com/media/professional/support/PDFs/InstallingPHP-OSX-10-5_PDF.pdf
    All content is freely available. Go get'em!
    Best - Joe
    Joseph Lowery
    VP of Marketing, WebAssist -
    http://www.webassist.com
    Author, Dreamweaver CS3 Bible -
    http://www.idest.com/dreamweaver/

    Cool. I've bookmarked it for later.
    Thanks!
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "Joseph Lowery" <[email protected]> wrote in
    message
    news:ftj87l$nem$[email protected]..
    > We've recently released two new solution recipes to help
    designers make
    the
    > jump to building dynamic sites. Each solution recipe
    describes step by
    step
    > how to set up PHP and MySQL on your XP or Vista systems.
    You can find them
    > on the Solution Recipe page:
    >
    > Installing PHP and MySQL on Windows Vista
    > Installing PHP and MySQL on Windows XP
    >
    http://www.webassist.com/professional/products/solutionrecipes.asp
    >
    > Each of these Solution Recipes include PDFs that you can
    print out or read
    > on screen.
    >
    > We also have steps outlined for the Mac in PDF format,
    one for 10.4.x and
    > the other for 10.5.x:
    >
    > 10.4.x:
    >
    http://www.webassist.com/media/professional/support/PDFs/InstallingPHP-OSX-10-4_PDF.pdf
    >
    > 10.5.x:
    >
    http://www.webassist.com/media/professional/support/PDFs/InstallingPHP-OSX-10-5_PDF.pdf
    >
    > All content is freely available. Go get'em!
    >
    > Best - Joe
    >
    > Joseph Lowery
    > VP of Marketing, WebAssist -
    http://www.webassist.com
    > Author, Dreamweaver CS3 Bible -
    http://www.idest.com/dreamweaver/
    >

  • How to set a specific database as default?

    Hello;
    How i can set a specific database as default? please
    My sql server is Microsoft Sql Server 2000.

    You follow Micosoft's instructions. I posted a link for them in this thread;
    http://forum.java.sun.com/thread.jspa?threadID=747772&tstart=0
    More specifically, the link
    http://support.microsoft.com/default.aspx?scid=kb;en-us;313100
    gives an example of exactly how to do this in the sample code.

  • Help withe setting up a database

    Hello There,
    I come for some help, I want to be able to set up a database on my computer but I dount know how to I am on windows XP could someone guide me though what I need and what to do please.
    Many thanks
    Lol

    Pick one: Oracle, M$ (Access or SQL Server), MySQL, Sybase, Informix, IBM (DB2), PostgreSQL...
    You mean you asked this question without having a database on hand? Have you ever used a relational database before?
    Do you know SQL?
    If you answer "no" to all these questions you've got a lot to learn before you even bother with this forum, Java, or JDBC. - MOD

  • Reg setting up Logical database

    Hi,
    I need to set up logical file system for generating Idoc. can any one help me in setting up logical file system and how to config the idoc to that location.
    I appreciate your help.
    waiting to hear
    Thanks,
    Kisu

    Hi,
    I am not sure I understood your requirement. Your heading said "Reg setting up Logical database". But in your description you are asking about "logical file system". Then you say IDOC configuration. Can you please explain what you want to do?
    You can create logical file using transaction FILE. If you are talking about RFC Destinations for Idocs(not logical file system), then you are talking about SM59. If you are looking for configuring logical systems for ALE distribution or workflow configuration, then you do that in customizing transaction SPRO under "Basis Components>ALE>Logical Systems--> Define Logical Systems".
    Please let us know which one it is.
    Srinivas

  • Find out the character set of a database

    Hi,
    I need to know the character set of a database. I don't know which command or utility can I use.
    Thanks

    This forum is for Oracle Repository.
    However, connect as system and run
    select * from nls_database_parameters
    you should see the nls info.

  • Setting the Required Database AL32UTF8 Character Set

    Hi,
    How can I set the existing database character set to AL32UTF8 in order to use the database with Oracle Content DB.
    How can I use the Database Configuration Assistant (DBCA) to re-create the database with the correct AL32UTF8 character set.
    Regards
    Boris

    Of course you can change the characterset value, but you need to follow some good explanation as the metalink notes below :
    Note:260192.1 - Changing WE8ISO8859P1/ WE8ISO8859P15 or WE8MSWIN1252 to (AL32)UTF8 with ALTER DATABASE CHARACTERSET
    Note:227332.1 - NLS considerations in Import/Export - Frequently Asked Questions -
    Nicolas.

  • Migrating reports sets to another database

    Does anyone know if there is an way to copy request sets from one database to another (for program promotion into production) without having to re-enter them?
    thanks

    Hi,
    FNDLOAD can be used to migrate setups from one instance to another instance...
    You can get document for this on metalink else in sysadmin guide...
    Thanks
    Yogi

  • Differences between BC Set SOLMAN40_CHARM_BASICFUNC_001 and database.

    Hello Team,
    We are configuring Change Request management in Solution manager.
    Activation of BC sets ends with warning.Activation log shows below error.
    'Differences between BC Set SOLMAN40_CHARM_BASICFUNC_001 and database. Check values'
    There errors like "
    Field Not Copied
    Difference between BC Set and Table"
    We are through with note :903527  which suggest "2) Create a new transport request (Transaction SE09) in the source client of your Solution Manager system. Unpack the file Piecelist_Change_Management_Init.zip, which is attached to this note. Copy the contents of the file Piecelist_Change_Management_Initial.txt into the transport request. Use Transaction SCC1 to import the transport request into your Solution Manager client"
    But how to "Copy the contents of the file Piecelist_Change_Management_Initial.txt into the transport request"?
    Please let me know if you have any hint.
    Best Regards,
    Tushar

    status/action??
    when u click action tab in maintenance transaction the status updated auomatically.
    have u checked the errors shown in error tab....after u removed the errors....
    thn u choose up 'update maintenance cycle' action press save button the status will be same but error button wiil be green
    Then u have action Next phase"'in dev with release"
    If it is not appearing even there is no error........Pls  ck the action profile or ask solman consultant to chk the same
    Hope it clarifies
    Regards
    Prakhar

Maybe you are looking for

  • VPN Client disconnection from command line

    Hi, I want to connect to IPsec VPN on ISA500 by VPN Client (v 5.0.07.0440, the last version, I think), using command line parameters. I can connect with the command: "%programfiles%\Cisco Systems\VPN Client\ipsecdialer.exe" -c -user myUser -pwd myPas

  • Calling a PL/SQL function in the SQL statement

    I have a PL/SQL function which i should call in a SQL statement. Let's say the function is func1(parameter1,parameter2), it should be called like this :- SELECT func1() FROM mytable ; Can any one help me out on this ? ---Thanx in advance

  • Recon Acct and Vendor Acct not tele.

    Hi Experts My report in FBL3N and FBL1N not same. In FBL3N I only key in the;          G/L Code          : 1234                     Company Code : MY01        Open Item date :  30.06.2009        In FBL1N I key in the; Recon account in dynamic selecti

  • Print & Fax prefs & any and all print commands unresponsive

    Hi all, Newb here. I have a 17" mbp running Leopard 10.5.2. I'm networked to a Konica Printer at work and I sent a very large job across. The job was incorrect so I canceled it. That's when the trouble started. Now I can't even open the print dialog

  • Whenever I right click on any link the link gets opened in new tab

    Whenever I right click on any link, along with context menu pop up (Correct property) the said link also gets opened in new tab (next to running tab in background : wrong property) Initially I thought it is due to one of the add-on installed on searc