• When I’ve been in phpMyadmin I droped all tabels.
    So my usrq/mysql/data/Sitename directory is empty (I’n not sure if it’s the right path).
    Thus WordPress is unable to access the database.

    Please help me !

Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter glik

    (@glik)

    First – I do not know the answer.
    Second – it worked before like it is now.
    Thirdly – I’m not sure what do you mean “server url” vs. “WP url”/
    because the site is not on the internet, there is only files in the computer (before I upload it to an external host) – the WP files are in the www\AHA4u directory and the database is in usr\local\mysql\data directory – just as it were when it worked previously.

    What are the two urls in Settings -> General?

    Thread Starter glik

    (@glik)

    where do I find “urls in Settings -> General?”
    in what file or menu ?

    In your Admin area.

    Thread Starter glik

    (@glik)

    In the admin panel – where should I look it up ? – in the PHPinfo ? or in what other menue ?

    In your WordPress admin area. If you cannot login yet, you’ll need to start looking through the wp_options table for siteurl and home.

    Thread Starter glik

    (@glik)

    As you understood – I cannot login yet.
    in my WP directory [ …www\AHA4u ] there is no wp_option file.
    will you be willing to specify the file name and its place ?

    Neverthless, I’ve screen every file that seem to relate to these topics and found one – in a file called option-general.php at the wp-admin subdirectory I’ve located some lines refering to siteurl and home:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    there is no wp_option file

    It’s a table in your database. Look in your .sql backup file.

    Thread Starter glik

    (@glik)

    I do not have any tables in my database – how can I create them ?

    In onother backup database I found a file called wp_options.myd
    there I traced something:
    “siteurl http://vAHA4u”
    and after some charachters: “home http://vAHA4u”

    how to proceed ?

    Do you have a backup copy of your old database?

    Thread Starter glik

    (@glik)

    No
    I have another database of a second site.

    Thread Starter glik

    (@glik)

    I remember the database is created once I enter the http://vAHA4u/wp-admin/install.php – but here again is were I stuck – I get an error message: : “Not Found. The requested URL /wp-admin/install.php was not found on this server”

    so do you have an idea how can I proceed ?

    Check where the WP files are installed on your server.

    Thread Starter glik

    (@glik)

    I re-downloaded the Wp to c:\programs Files,
    then coppied them to …www\AHA4u directory and redifined wp-config.php/
    It’s the same as before – when it worked – but now it gives me the erer message: : “Not Found. The requested URL /wp-admin/install.php was not found on this server”/

    I rechecked now everything…

    so do you have an idea how can I proceed from here ?

    I think you need to review Installing_WordPress_Locally

Viewing 15 replies - 16 through 30 (of 30 total)

The topic ‘database mismatch’ is closed to new replies.